Help - Search - Members - Calendar
Full Version: New - PLESK6 - Unicoding problem
The Planet Forums > Control Panels > Plesk
dr-jamal
well ..

I got a new sever Dual Xeon .. RH9 + Plesk 6 .. I upgraded it first to plesk 6.0.1 .. PHP to 4.3.2 .. everything went fine .. I moved my data from my old server to it ..

My website was in arabic .. I made them with the language tag in each header .. It was working fine in the old server which was running Plesk 5.0.5 + RH 7.3 .. what I ment is that the browser recognize that my pages were made in arabic .. so it showed them in arabic .. now & after moving from my old server to my new one .. I found that it doesn't show them ..

try this here ..
http://www.dar-alzain.com/test.htm

The first line appear in ENG .. whereas the 2nd line doesn't appear in Arabic ..

if I want it to show it .. I have to go to "View" then "Encoding" then "Arabic" .. for each time .. I don't think this is what my customer want ..

So, Where is the problem ??

If anyone can help .. cause all my pages suffer from this .. !!
dr-jamal
solved thanks to 4PSA ..
aelshesh
Hello,

We also have this same problem, can you please post the solution here.

Thanks
4PSA
Change your default encoding in httpd.conf.
joelmoss
QUOTE
Originally posted by 4PSA
Change your default encoding in httpd.conf.


What do we change the default encoding to?
4PSA
Change AddDefaultCharset to Windows-1251
joelmoss
QUOTE
Originally posted by 4PSA
Change AddDefaultCharset to Windows-1251


Ok, we changed that and it has resolved the issue for some customers, but has modified it for others. Other domains using other languages now see the wrong language. How do I ensure that they all see the right thing?
Ales
Comment it out completely.

Something like:
# AddDeafultCharset ISO-8859-1

It shouldn't be set in httpd.conf in the first place, not on a shared hosting server.... this is a setting that must be set separately in every html page's header, or the httpd.conf setting will over-ride them all.
joelmoss
I am having this encoding problem with http://byte-brain.co.th now. I have commented out the AddDefaultCharset and also set it to Windows-1251, but still the page above displays garbage.

Can anyone shed some light on this subject?
Ales
The first page displays properly to me, subpages do not. Not that I can read anything anyways icon_wink.gif I'm using Mozilla Firebird 0.7.
joelmoss
ok, it looks like it is fixed! rolleyes.gif
thanks anyway!
RS-116307
Hi there

i'm having the arabic encoding problem with ensim

i added AddDefaultCharset windows-1256 in /etc/httpd/conf/httpd.conf and restarted apache nothing happened i tried AddDefaultCharset windows-1251 same thing

any idea ?


Ahmad
Galactic Zero
comment out the AddDefaultCharset and let the webmasters decided what charset to use in the meta tags.

What's happening in apache 2 is the AddDefaultCharset is over riding the meta tags.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.