recently I was looking at the knowledge related to io and encountered some minor problems. Here are some examples to illustrate the problem:
for example:
12345 is a decimal number
found according to ASCII code is
binary 00110001 00110010 00110011 00110100 00110101
decimal 4950515253
hexadecimal 0x310x320x330x340x35
file saved as ansi code
unicode:
utf-8:
:unicode3100 3200 3300 3400 3500ff fe
:
:ansi 31 32 33 34 35
but I obviously saved it in ansi, where did I get unicode? Do you change it to unicode, when you read it, and then read it again? Can you tell me the details of the process?
Thank you, gods!