Link to home
Start Free TrialLog in
Avatar of mnicolaides
mnicolaides

asked on

Garbaged / Garbled Japanese text Apache

Hi all,

Thanks in advance for your input.  I am running Apache Server on a QNAP NAS TS-210 and have had success in changing the locale to allow support for UTF-8 formatted characters in bash and various other apps (Midnight Commander, etc).  I have not, however been able to successfully get Apache to display the same text appropriately.  Instead, I get the usual unintelligible garbage text when one has an encoding issue.  I have tried several solutions I have found online to no avail.  

I have attached an image showing the issue as it presents itself in a browser.  Can anyone advise as to how I may resolve this issue?

Thanks,
Mike
Screenshot.jpg
Avatar of farzanj
farzanj
Flag of Canada image

You need install Japanese plugin in your browser

Please take a look

http://redcocoon.org/cab/mybrowser.html
Avatar of mnicolaides
mnicolaides

ASKER

Japanese character display is working fine on every webpage other than this.  This is absolutely a server side issue.
Ok.
Please read this.  Hope it answers your question
http://vancouver-webpages.com/multilingual/howto.html
Thanks very much, but this again is not pertinent to my issue.  The article you sent describes how to configure the Apache server to serve customized language content based on a user's locale setting.  In actuality, I need to configure Apache to serve a single format (which is merely a directory listing generated by Apache) in the correct encoding.

The issue here is that Apache looks at the directory listing (which is UTF-8 encoded) and renders it for the browser.  Somewhere in the process of going from file / folder encoded in UTF-8 to UTF-8 encoded HTML, the data is turned to garbage.  As it stands, it is rendering rubbish instead of UTF-8 encoded data.
Seemingly this is a complex question, so I have raised the point value.
Please also "Request Attention".  This way your question will get the attention it deserves.
ASKER CERTIFIED SOLUTION
Avatar of mnicolaides
mnicolaides

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Resloved the issue myself.