|
02-04-2005, 05:12 AM | #1 |
Orange Mole
Join Date: Jan 2004
Location: In outer space
Posts: 37
|
Small fix for Japanese indexing
Hi there.
UTF-8 compatible PhpDig is a great tool! Thank you Charter and all contributors! Because of half-width (Hankaku) and full-width (Zenkaku) characters in Japanese, the following search won't return the same results depending on the characters used in the original page : "999" and "999" (Half-width <> Full-Width) "Test" and "Test" (Half-width <> Full-Width) "アイウエオ" and "アイウエオ" (Full-width <> Half-Width) (Sorry for those who can't read asian characters) May I suggest to add in robot_functions.php on line 188 the following line? PHP Code:
I recommend to add this line in the future releases of PHPdig.
__________________
Uchû Senshi Edomondo http://www.leijiverse.com http://shonen-kokoro.fr.st http://tsukanomanoharu.fr.st |
02-05-2005, 01:40 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Thanks, I posted instructions for alternative changes that you may find useful in this post. In order to be able to enter either half-width or full-width characters for searches, you should also make the changes to the seach_functions.php file, instructions for which are given in the aforementioned post.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Probleme with japanese search | Paka76 | How-to Forum | 0 | 03-24-2006 05:26 AM |
Japanese characters on an English page | Shdwdrgn | Troubleshooting | 1 | 03-15-2005 09:28 AM |
Can phpdig index Japanese PDF file??? | mynamesucks | External Binaries | 3 | 02-22-2005 10:59 PM |
Looks Like A Small Bug In 1.8.1 | vinyl-junkie | Troubleshooting | 6 | 07-07-2004 09:04 PM |
Japanese encoding : charset=shift_jis | Edomondo | How-to Forum | 27 | 01-27-2004 07:04 AM |