|
01-14-2006, 02:48 PM | #1 |
Green Mole
Join Date: Jan 2006
Posts: 3
|
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 </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 |
01-15-2006, 01:12 PM | #2 |
Purple Mole
Join Date: Aug 2004
Location: North Island New Zealand
Posts: 170
|
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. |
01-16-2006, 12:55 AM | #3 |
Green Mole
Join Date: Jan 2006
Posts: 3
|
I have tried various code page settings including those in the documentation without success.
|
01-16-2006, 12:07 PM | #4 |
Green Mole
Join Date: Jan 2006
Posts: 3
|
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. |
01-16-2006, 12:27 PM | #5 |
Purple Mole
Join Date: Aug 2004
Location: North Island New Zealand
Posts: 170
|
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
language as chinese | bailywen | How-to Forum | 1 | 07-18-2005 05:19 PM |
HTML entities in results | scarydog | How-to Forum | 1 | 05-19-2005 08:28 AM |
Phpdig indexing including HTML in results | Mrsoft | Troubleshooting | 1 | 09-28-2004 05:23 AM |
ignore special characters like - | mirdin | Troubleshooting | 5 | 09-11-2004 07:48 AM |