?
Solved

Garbaged / Garbled Japanese text Apache

Posted on 2011-04-18
8
Medium Priority
?
239 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:mnicolaides
  • 5
  • 3
8 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 35419784
You need install Japanese plugin in your browser

Please take a look

http://redcocoon.org/cab/mybrowser.html
0
 

Author Comment

by:mnicolaides
ID: 35419801
Japanese character display is working fine on every webpage other than this.  This is absolutely a server side issue.
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35419847
Ok.
Please read this.  Hope it answers your question
http://vancouver-webpages.com/multilingual/howto.html
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:mnicolaides
ID: 35419898
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
 

Author Comment

by:mnicolaides
ID: 35424733
Seemingly this is a complex question, so I have raised the point value.
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35424760
Please also "Request Attention".  This way your question will get the attention it deserves.
0
 

Accepted Solution

by:
mnicolaides earned 0 total points
ID: 35425178
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
 

Author Closing Comment

by:mnicolaides
ID: 35455497
Resloved the issue myself.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question