Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Problem displaying Japanese chars on Linux
- To: <tlug@example.com>
- Subject: Re: [tlug] Problem displaying Japanese chars on Linux
- From: "Maarten Janson" <maartenjanson@example.com>
- Date: Wed, 13 Feb 2002 12:39:02 -0000
- Content-transfer-encoding: 7bit
- Content-type: text/plain;charset="iso-2022-jp"
- References: <DAV74mO030Ws6Wxm5LE000051e3@example.com> <3C6A5B91.567FC843@example.com>
Thanks BOTi, I'll give that a go... Rgds Maarten ----- Original Message ----- From: "BOTi" <9915104t@example.com> To: <tlug@example.com> Sent: Wednesday, February 13, 2002 12:26 PM Subject: Re: [tlug] Problem displaying Japanese chars on Linux > Maarten Janson wrote: > > > The problem is that when the Agent is started during boot of the > > Japanese Linux machine and you point the browser on a Japanese windows > > machine to it you see questionmarks. If I then stop the Agent on the > > Linux machine and restart then the client displays proper Japanese > > characters. I did some debugging and wrote a small java program > > (test_resource.java) to display this behaviour, I have listed > > test_resource.java below, together with the 2 properties files. > > > > If you run test_resource during boot (create S99Test in /etc/rc5.d and > > have S99Test to run test_resource and redirect output to a file) then > > you will see that the correct properties file is loaded and that the > > english chars in the resource string appear fine but the japanese > > chars appear as ????? If you then run test_resource from an xterm > > window the the japanese chars display fine as well. > > As someone already pointed it out before, you most probably need to set > the locale before you start the Agent. Make a single shell script which > does `export LC_ALL=ja_JP; java classname.for.Agent` and call that from > your initscripts. > As you are using a Japanese distribution, the Japanese locale is > probably set at a later stage that's why it works from a terminal. > > > In test_resource I set the default Locale in order to make sure it is > > set correctly (see bug ID4127375) > > Most probably this is not enough. > > > ps: I don't mind html mails but afaik some people on the list do, so if > it's possible to set your M$ outlook to send plain text mails that would > be great. > > -- > B0Ti. > > > >
- References:
- [tlug] Problem displaying Japanese chars on Linux
- From: Maarten Janson
- Re: [tlug] Problem displaying Japanese chars on Linux
- From: BOTi
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Problem displaying Japanese chars on Linux
- Next by Date: Re: [tlug] Making new boot image for RH cd...
- Previous by thread: Re: [tlug] Problem displaying Japanese chars on Linux
- Next by thread: [tlug] Nomikai Meeting Reminder
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links