fbc
fbc copied to clipboard
print function shows chinese character overlapping
Compile the following code with FBC: print "汉字显示" on windows 10 When the source code encoding is UTF-8, it displays garbled characters When the source code encoding is UTF-8 with BOM, the Chinese characters overlap When the source code encoding is ANSI, the Chinese characters display normally.
You can check the document; it says, Unicode files must be saved with Byte Order Mark (BOM), otherwise fbc does not recognize them as Unicode.
https://www.freebasic.net/wiki/ProPgSourceFiles