Jump to content

encoding


cola

Recommended Posts

I need to get of content couple multilanguage and put them in database.

But i can not fix problems with foreign characters (like chinise, greek, russian, french etc)

For example in database for chinese characters i get this: Êס¡¡¡Ò³ ÐÂÎÅ ÆÀÂÛ ÊÓƵ ÎÄ»

mysql set up to utf-8, my php script is set up for utf-8.

 

I also try to convert my string  to UTF8 with mb_convert_encoding ($page, "UTF-8")

but i get also some wierd chars. Is there some other way to convert characters

propriety.

 

Google showing that pages ok and i need to get same.

Can anybody explain how i can do this?

 

Thank you

Link to comment
Share on other sites

For example i need to store content of

www.chinataiwan.org/ into mysql database.

But i store some wired chars. This  page using

charset gb2312. I have more about 20 pages with

different languages and charset.

How i can convert content of those pages to get right

characters in database smilar like they look in Google.

i tray with utf-8 and mb but i do not get what i want

 

I need help urgent

if someone have some idea i please u to help me

thnks

 

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.