LANG system environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

a while ago I had a strange problem with mysql and java servlets. The servlet would not pull up accented characters and
umlaut-characters correctly when they came from the database. I finally figured out that I had to set the MySQL-JDBC driver to use
ISO88591 rather than  UTF8 (which was the default). The default came from a system property, and so setting "LANG=en_US.iso88591" in
my tomcat startup-script fixed the problem as well.

Now I had some other problem with displaying man pages. One server shows it fine, a newer FC3 server screws up doublequotes and
other characters.
Even setting NROFF in man.config to "NROFF          /usr/bin/nroff -Tlatin1 -mandoc", which used to always fix my display problems
did not fix the problem this time.
I then figured out that calling "LANG=en_US.iso88591" before calling man together with the new NROFF setting fixed my problem.

So here is my question: 
/etc/sysconfig/i18n says:
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

What will happen if I change this to LANG=en_US.iso88591 ??? Will this break tons of other stuff on my server? I checked the old
servers (redhat 9 and earlier) that do not have all those problems, but surprisingly, they have the same content in
/etc/sysconfig/i18n. So where else are they different?

If I change the LANG variable, do I have to change the SUPPORTED variable as well???

Thanks,

MARK



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux