Tuesday, November 21, 2006

UTF-8 Language Manager for Legacy System (2)

Yesterday's test UTF-8 language manager didn't convert global.php to UTF-8. Mr. nobunobu sent me patches. I've archived version 0.02 with merging his patches.

Because the language manager has to convert global.php, it's impossible to use the original _CHARSET which is defined in global.php. And so the language manager came to use informations of the setting file or embedded-fixed-informations of the language manager class.

Verison 0.02 has Japanese (EUC-JP) and Korean (EUC-KR) as embedded-fixed-informations. It's possible to overwrite these informations by the setting file. Of course, it's possible to add other languages, too.

[Module_Utf8LangMgr]
multibyte=chinese,korean,japanese
chinese=big5
korean=...

No comments: