PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 08-03-2004, 12:30 AM   #1
wessam
Orange Mole
 
Join Date: Jul 2004
Posts: 30
Thanks
i have another problem
i asked befor about arabic language support and u sent to me these block of code:

define('PHPDIG_ENCODING','iso-8859-6');

$phpdig_string_subst['iso-8859-6'] = 'Q:Q,q:q';

$phpdig_words_chars['iso-8859-6'] = '[:alnum:]¤¬»¿ÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚ*áâãäåæ èéêëì*îïðñò';

when i try search after apply these code with iso-8859-6 return no result for arabic but it's return all result for english languge ..
i think it's can't recognize the arabic characters when query search ..

$phpdig_words_chars['iso-8859-6'] = '[:alnum:]¤¬»¿ÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚ*áâãäåæ èéêëì*îïðñò';
"mean all arabic chracters ??"

im sorry .. im just new with php im developer on asp and asp.NET
any more help pls
wessam is offline   Reply With Quote
Old 08-03-2004, 11:26 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. If this shows all the Arabic characters and they match up with the following:
Code:
A0-AF:  ¡¢£¤¥¦§¨©ª«¬_®¯
B0-BF: °±²³´µ¶·¸¹º»¼½¾¿
C0-CF: ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ
D0-DF: ÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß
E0-EF: *áâãäåæçèéêëì*îï
F0-FF: ðñòóôõö÷øùúûüýþÿ
Then the PhpDig variables are set correctly. If the PhpDig variables are in fact set correctly, then the same encoding used to index needs to be the same encoding used to search. PhpDig does not currently support multiple encodings.

Also, the database may or may not need to understand the encoding and/or you may need to ALTER TABLE keywords MODIFY keyword VARCHAR(64) BINARY; for certain encodings.
__________________
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.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
utf-8 support kozlovsk How-to Forum 1 10-27-2004 04:56 AM
SSL Support? bdiddykane96 Troubleshooting 3 08-13-2004 05:05 PM
Arabic Language wessam Mod Requests 4 07-20-2004 12:32 AM
How support multibyte language? shlee How-to Forum 1 04-13-2004 06:24 PM


All times are GMT -8. The time now is 04:30 PM.


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