cola Posted February 21, 2009 Share Posted February 21, 2009 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 More sharing options...
Mchl Posted February 21, 2009 Share Posted February 21, 2009 Isn't utf-8 enough? Take a look at mbstring functions Link to comment https://forums.phpfreaks.com/topic/146284-characters/#findComment-768037 Share on other sites More sharing options...
cola Posted February 22, 2009 Author Share Posted February 22, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.