in reply to Non asci character and system call

It can be helpful to examine the source-code using a tool such as hexdump to actually look at the byte-sequences that make up the encoding. I seem to remember also that Windows uses UTF-16.