PhpDig.net

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

Reply
 
Thread Tools
Old 02-19-2004, 11:46 PM   #1
neo007
Green Mole
 
Join Date: Feb 2004
Posts: 4
Help me

I need use Thai language on phpdig ,How To Thanks
neo007 is offline   Reply With Quote
Old 02-20-2004, 02:55 AM   #2
neo007
Green Mole
 
Join Date: Feb 2004
Posts: 4
My Language is Encoding TIS-620
neo007 is offline   Reply With Quote
Old 02-20-2004, 06:49 AM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Assuming TIS-620 is all single-byte as shown here try using the following in the config.php file:
PHP Code:
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:]¡¢£¤¥¦§¨©ª«¬_®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÜß*áâãäåæçèéêëì*îïðñòóôõö÷øùúû'
__________________
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
Old 02-20-2004, 09:27 AM   #4
neo007
Green Mole
 
Join Date: Feb 2004
Posts: 4
Thank a lot
neo007 is offline   Reply With Quote
Old 02-20-2004, 05:45 PM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
>> Thank a lot

Hi. You're welcome. Did the code work?
__________________
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
Old 02-21-2004, 08:56 AM   #6
neo007
Green Mole
 
Join Date: Feb 2004
Posts: 4
I try change Encoding to tis-620.
Wow it work, Thanks again.
neo007 is offline   Reply With Quote
Reply

Thread Tools

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


All times are GMT -8. The time now is 05:44 AM.


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