Hello Gyuki-san,
Sorry for not reply sooner. I have received your email. Thank you for helping out.
I did some research last night in regards to Lua and internationalization. Lua does support
utf-8 in strings, but not as an identifier (such as variable name, function name..etc). Looking at the
patch that you have send me, it appears that it enables users to have function/variable names in multibyte character sets. I have a couple of concerns:
- If I do enable Lua to allow MBCS, that may cause some issues for people in the other countries (sorting/string comparisons). Also it may cause portability issues
- Even if I enable MBCS support right now, DSLua currently does not have the proper font support
- Most of the PA_Lib text drawing functions I am using do not support MBCS very well (I could be wrong)
So, here is my plan:
- implement some basic font functions first, so people at least use their own non-english font
- maybe include a basic 8x8 fontset for
codepage 932 and other code pages
- implement a UTF-8/proportional font display system (similar to MoonShell), so people can use a better font
Hope that addresses your concern. Let me know if you have other ideas/suggestions.
Thanks,
Waruwaru