console charset
- Posted by Salix Jan 10, 2010
- 1524 views
I have an entry level question. :-> Whenever I print something onto the screen some special characters are not readable for me. E.g.
puts(1,"Helló világ!") -- means "Hello world" in Hungarian
would appear incorrectly due to the "ó" and "á" characters. I suppose it is because of the codepage differences. But is there a simple way of defining that the script I saved in UTF-8 should print to the console/command line the text as ibm852 charset? I'm equally interested in Win and Linux solution...
Thanks for any tips/hints/ideas in advance!
Salix