PDA

View Full Version : Help me


neo007
02-19-2004, 11:46 PM
I need use Thai language on phpdig ,How To Thanks

neo007
02-20-2004, 02:55 AM
My Language is Encoding TIS-620

Charter
02-20-2004, 06:49 AM
Hi. Assuming TIS-620 is all single-byte as shown here (http://thaigate.nii.ac.jp/refer/tis620.html) try using the following in the config.php file:

define('PHPDIG_ENCODING','tis-620');

// give functions something trivial to do
$phpdig_string_subst['tis-620'] = 'Q:Q,q:q';

// remove word wrapping in the below line
$phpdig_words_chars['tis-620'] = '[:alnum:]¡¢£¤¥¦§¨©ª«¬_®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆ ÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÜß*áâãäåæçèéêëì*î ðñòóôõö÷øùúû';

neo007
02-20-2004, 09:27 AM
Thank a lot

Charter
02-20-2004, 05:45 PM
>> Thank a lot

Hi. You're welcome. Did the code work?

neo007
02-21-2004, 08:56 AM
I try change Encoding to tis-620.
Wow it work, Thanks again.