File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes ENV variables that determines encoding format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "ENV variables that determines encoding format" Watch "ENV variables that determines encoding format" New topic
Author

ENV variables that determines encoding format

Ganni Kal
Greenhorn

Joined: Jan 17, 2008
Posts: 16
Hi

I have two Linux servers (Red Hat) both are having the LANG=C.
But reading of characters that is not supported by UTF-8, are handled differently by the servers.

What are the environment variables other than LANG, that affects the encoding format in Linux?

Thanks for looking into this.

Ganni
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

maybe LANGUAGE or LC_ALL.
try

in a shell.


http://home.arcor.de/hirnstrom/bewerbung
 
Consider Paul's rocket mass heater.
 
subject: ENV variables that determines encoding format
 
Similar Threads
Portuguese characters don't display [INVALID]
confuse of ==
Charset Bug: UTF-8 x ISO-8859-1
URL encoding gives 404
InputStreamReader is not properly reading some characters in Linux.