Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Arabic Encoding, arabic text display incorrectly

views
     
TShechjay8282
post Jan 28 2006, 02:22 PM, updated 20y ago

Getting Started
**
Junior Member
89 posts

Joined: Jan 2005
From: Gombak



i'm developing a website (using dreamweaver) that contains some arabic text... i wrote this code into the head

<meta http-equiv="Content-Type" content="application/html; charset=windows-1256">

where windows-1256 is arabic encoding... but when i preview the page it does not automatically display the text in arabic... instead it comes out as strange symbols.. so i need to manually change the encoding to Arabic (windows) in IE....

how do i fix this?

FYI i'm using php and mysql...

lelynx
post Feb 1 2006, 02:34 PM

Enthusiast
*****
Senior Member
838 posts

Joined: Aug 2005
From: Selangor


- First thing to check is the version of mysql, only 4.1 or above can support unicode
- Then the char set that u hv used in yr mysql http://dev.mysql.com/doc/refman/5.0/en/charset-unicode.html
http://dev.mysql.com/tech-resources/articl....1/unicode.html
- Check the datatype of the column that u hv used to store the data, is it unicode compatible?


 

Change to:
| Lo-Fi Version
0.0158sec    0.85    5 queries    GZIP Disabled
Time is now: 23rd December 2025 - 06:24 AM