Topic: thai character is missing when post
Dear;
I use punbb 1.2 when i preview the message It is ok but when posted , Some character missing, not display . Thai character that missing is "Sor Sur" on L botton of keyboard, below is my config in common.php
// Determine what locale to use
switch (PHP_OS)
{
case 'WINNT':
case 'WIN32':
$locale = 'Thai';
break;
case 'FreeBSD':
case 'NetBSD':
case 'OpenBSD':
$locale = 'th_TH.TIS-620';
break;
default:
$locale = 'th_TH';
break;
}
// Attempt to set the locale (required for fulltext indexing to work correctly)
setlocale(LC_CTYPE, $locale);
// Language definitions for frequently used strings
$lang_common = array(
// Text orientation and encoding
'lang_direction' => 'ltr', // ltr (Left-To-Right) or rtl (Right-To-Left)
'lang_encoding' => 'Tis-620',
'lang_multibyte' => false,
Note:
1. I translate into Thai languge by myself and I try to use Thai language pack by skinmaker123 also. It has the same problem
2. Thai character in message box displays ok, not missing when i change the language to English but others thai text like as Menu can not display thai, It has not human language so i like setting it to Thai much more, others thai text display well
Please help me
Thanks