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

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.