Jump to content

characters


cola

Recommended Posts

How i can make support for all characters (including russian, arabic, chinese,japneise, greek) and all encoding types in php and mysql?

I know to use htmlentities() and html_entity_decode() but those

functions do not support all encoding types. Also these function do not

put all characters in mysql on the right way. Is there some other way to do this?. For php and mysql i use utf-8 encoding. Thanks

Link to comment
https://forums.phpfreaks.com/topic/146284-characters/
Share on other sites

Thanks for answer,

My problem is that i need to make some kind of search throughout 20 multilanguage sites. I know do that but i have problem with showing all

kind characters. Every site or some part of site have different encoding.

I tray to use htmlentities and html_entity_decode but is not work with all encoding and all characters did not show on the right way. Also i try to use mb_convert_encoding ($page, "UTF-8") but i gets lot of crap. For example for some chinese characters i get this: Êס¡¡¡Ò³ ÐÂÎÅ ÆÀÂÛ ÊÓÆµ ÎÄ»

Is there a way to show all kind of characters on the right way?

Link to comment
https://forums.phpfreaks.com/topic/146284-characters/#findComment-768521
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.