PDA

View Full Version : Translators! Check the following values.


z
11-13-2005, 03:47 PM
Translators! Check the MBCSWidestString value.


Do not forget to modify the character of MBCSWidestString in translated language. For the calculation of multi-bytes, you should specify the most widest character of your local language.

ex)
MBCSWidestString=하 ; the most widest character of korean
MBCSWidestString=W ; the most widest character of english
why default codepage is -1?

"-1" means just system default codepage. So if you set the codepage to "-1", KMP will follow the system default codepage. Please set the codepade to "-1"(0=ansi, 1=oemcp). But it's all right in my thought if you'd like to keep the codepage to 936. (Setting to "-1" is just for the compatibility of other language)
cf. It is recommended to set charset to "1"

[InternalMessage]
DefaultCharSet=1
DefaultCodePage=-1

ANSI_CHARSET = 0;
DEFAULT_CHARSET = 1;
SYMBOL_CHARSET = 2;
SHIFTJIS_CHARSET = $80;
HANGEUL_CHARSET = 129;
GB2312_CHARSET = 134;
CHINESEBIG5_CHARSET = 136;
OEM_CHARSET = 255;
JOHAB_CHARSET = 130;
HEBREW_CHARSET = 177;
ARABIC_CHARSET = 178;
GREEK_CHARSET = 161;
TURKISH_CHARSET = 162;
VIETNAMESE_CHARSET = 163;
THAI_CHARSET = 222;
EASTEUROPE_CHARSET = 238;
RUSSIAN_CHARSET = 204;
MAC_CHARSET = 77;
BALTIC_CHARSET = 186;
As The KMPlayer supports almost full unicode as well as in language or skin definition file, it is recommended to set the codepage to "-1" and charset to "1". Of course, the language file should be saved to unicode format. This will greatly increase the convenience of users because it's possible to display right characters whatever localized windows you use.

z
06-16-2006, 12:58 PM
The value of DefaultCodePage is modified to fix a recognizing problem in some localized windows.