UTF8 issues on Linux
- by user363808
Hi,
I have some code that fetches some data from the database, database codepage is UTF8. When I run the code on a linux box, some characters come out as question marks (?) but when I run the same code on a windows server, all characters appear correctly.
When I do:
$ $LANG
Following is returned
en_SG.UTF-8
en_SG is something that doesn't look correct, it should be en_US
but the latter part of the returned string is UTF-8 which is good. Is there anything else that I can look into to fix the character corruption problem?