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
mnicolaidesAsked:
Who is Participating?
 
mnicolaidesAuthor Commented:
I have resolved this issue myself.  The issue was that Apache generated ErrorPages and DirectoryIndex pages are by default served in ISO.  This issue was resolved by a simple change to the root .htaccess file.

I added the directive:

IndexOptions Charset=UTF-8

to the root .htaccess file. and the issue was resolved.

Thanks for the input up to this point.

Mike
0
 
farzanjCommented:
You need install Japanese plugin in your browser

Please take a look

http://redcocoon.org/cab/mybrowser.html
0
 
mnicolaidesAuthor Commented:
Japanese character display is working fine on every webpage other than this.  This is absolutely a server side issue.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
farzanjCommented:
Ok.
Please read this.  Hope it answers your question
http://vancouver-webpages.com/multilingual/howto.html
0
 
mnicolaidesAuthor Commented:
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.
0
 
mnicolaidesAuthor Commented:
Seemingly this is a complex question, so I have raised the point value.
0
 
farzanjCommented:
Please also "Request Attention".  This way your question will get the attention it deserves.
0
 
mnicolaidesAuthor Commented:
Resloved the issue myself.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.