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
https://forums.phpfreaks.com/topic/146860-encoding/
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
https://forums.phpfreaks.com/topic/146860-encoding/#findComment-771077
Share on other sites

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.