How to trouble shoot funny character in website?

windows

Guest
Hi,<br />I need some guide to help in trouble shooting those funny character in foreign language website. Previously, they were displayed fine/working properly.<br /><br />But after I disable/turn off phpsuexec in my server, these chinese character coded sites are displaying character like :- ??**&%@@ !!<br /><br />I am having haedache trying to look for solution and guides!<br />Any help would be much appreciated! Thanks<!--content-->
<!--quoteo(post=1587:date=Oct 28 2006, 08:42 AM:name=llegent)--><div class='quotetop'>QUOTE(llegent @ Oct 28 2006, 08:42 AM) [snapback]1587[/snapback]</div><div class='quotemain'><!--quotec--><br />Hi,<br />I need some guide to help in trouble shooting those funny character in foreign language website. Previously, they were displayed fine/working properly.<br /><br />But after I disable/turn off phpsuexec in my server, these chinese character coded sites are displaying character like :- ??**&%@@ !!<br /><br />I am having haedache trying to look for solution and guides!<br />Any help would be much appreciated! Thanks<br /><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Turning phpsuexec back target="_blank">AltaVista BabelFish<br /><br />Or, you may want to check out:<br /><br />All Virtual Ware <br /><br />Hope that helps and Good Luck!<!--content-->
Hi ItsComeToThis,<br />Well, that's the main problem/constraint that I am facing...I am not able to turn back phpsuexec due to some backend script that I need in managing several hundreds of accounts in my server.<br /><br />WHile I was searching for possible guides andadvise, I learnt that this error may caused by PHP charset variable, which is called "default_charset". Webmaster might need to set the character set they wish to use. But this sound pretty complicated for newbie like me. <img src="http://www.webdesignerforum.co.uk/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <br /><br />I am stil searching for simple guide that can be implemented straight away...best if just need to do a simple command input into file (like .htaccess ? ) and upload it to the site affected.<br /><br />Still working style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /><!--content-->
I came across some isses with weird characters when I was making a site in Norwegian. The conflict turned out to be that I was using the default latin-1 encoding but javascript uses UTF-8. So when I enchanced my site with some AJAX to preview comments it ended up arr garbled. I then converted all my files to UTF-8 encoding only to realise that PHP doesn't really support that. PHP treats all characters as 8bits no matter what. That means you have to be really carefull with the string functions you use in PHP. Sometimes you need to code your own UTF8 compatible ones.<!--content-->
 
Back
Top