[help] insert windows-1256 string into a utf-8 db

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Eng_A_Moktar
Forum Newbie
Posts: 2
Joined: Wed Jul 08, 2009 12:35 am

[help] insert windows-1256 string into a utf-8 db

Post by Eng_A_Moktar »

I have a page with windows-1256 encode
i wanna insert some strings into my db , which with utf-8 encode

the page has to be read with windows-1256, to be read well.

when i just insert these string , with submit form , it goes wrong in my db,
maybe i have to re encode string before post? , I'm not sure .
can anyone help ?
thanks.
Post Reply