Home > Back-end >  Small white solution: name garbled words
Small white solution: name garbled words

Time:09-25

A class named small programs, read access from the local name of TXT text, name, separated by a space between display when as shown in figure gibberish, attach part of the program, ask where is the problem, how to solve? (the other, the same code I have no problem students use )

CodePudding user response:

TXT coding format conversion switch

CodePudding user response:

TXT the default encoding for ANSI, you save is converted to utf-8, code don't transcoding

CodePudding user response:

refer to the second floor XIE_J response:
TXT the default encoding for ANSI, you save is converted to utf-8, code don't transcoding

The file code change, but the problem unsolved

CodePudding user response:

reference 1st floor XIE_J response:
to TXT coding format conversion switch

Now the problem solved, thank you bosses ning
  • Related