Jump to content

Multiple lanaguages in the database & viewing in php..


lynxus

Recommended Posts

Im having a terrible issue saving the persian language into my DB and bringing it back into a PHP echo.

 

All i get is: ���� Rather than the actual text that it should show.

 

I have a form that submits the text to a UTF8-Unicode DB table.

A then have a php doc that reads that table and echos to the document.

However it just comes out as ����

 

The document is set to UTF-8 and PHP sends the UTF-8 header.

 

Does anyone know what im doing wrong?

 

This only seems to happen when using IE

 

Meant to look like : ل لينوكس دلخواه قابل نصب بوده

But instead just shows ??????????????

 

Thanks

G

 

 

Everything is set to utf 8 on ALL my documents.

<?php header("Content-type: text/html; charset=utf-8");?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

Database is utf-8unicode ci

 

FF and Gchrome WORK FINE!

 

Its just IE that wont send the data properly. Always get ?????????

I noticed it ALSO cant send the damn £ character.

 

What is wrong, all other browsers are fine, Typical IE buggering everything up.

 

-G

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.