UTF8 issues on Linux
Posted
by user363808
on Stack Overflow
See other posts from Stack Overflow
or by user363808
Published on 2010-06-10T18:40:34Z
Indexed on
2010/06/10
18:42 UTC
Read the original article
Hit count: 223
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?
© Stack Overflow or respective owner