in reply to Re: calling the interpreter from a utf8 script
in thread calling the interpreter from a utf8 script
Anyways, looking at Textpad, which is the editor I use when on windows: it has several encoding options, among them "ANSI" (which is the closest it has to ASCII), "UTF-8", and "Unicode". Here is how they encode the character string "adsf":
Get the idea?[me@host]$ hd ~/asdf.unicode 0000000 a nul s nul d nul f nul 61 00 73 00 64 00 66 00 0000010 [me@host]$ hd ~/asdf.utf8 0000000 a s d f 61 73 64 66 0000004 [me@host]$ hd ~/asdf.ascii 0000000 a s d f 61 73 64 66 0000004 [me@host]$
|
|---|