PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Chinese characters and html fragments in results (http://www.phpdig.net/forum/showthread.php?t=2336)

cranachan 01-14-2006 01:48 PM

Chinese characters and html fragments in results
 
I am getting chinese characters and html fragments in results eg 燑/div>. This seems to occur where there is an html entity preceding the tag. So in the code on one of my own sites where this is occuring we have &nbsp;</div>.

Please advise how to sort this. I have tried changing the code page order in config.php without success. Other posts refer to an html entities array but I cant find that in my install (1.8.9). Not sure if this is an indexing error or a results error.

Thanks

Dave A 01-15-2006 12:12 PM

It may be worth you checking the character encoding settings that are running.

From what I can see within the documentation this could cause the results that you are getting.

cranachan 01-15-2006 11:55 PM

I have tried various code page settings including those in the documentation without success.

cranachan 01-16-2006 11:07 AM

Cracked it. The solution was in the code page settings in config.php, you just have to re-index the offending pages to correct it, I was expecting the results to change - doh!

I added ISO-8859-1 and ISO-8859-2 in that order after UTF-8.

Dave A 01-16-2006 11:27 AM

Thats quite a neat solution.

At least you have let everyone know, so that if it happens again people will be able to read it when they visit the forum and read through the posts.

Well done.


All times are GMT -8. The time now is 10:00 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.