[Bf-committers] International Input

Yaohua Xiong xiongyaohua at gmail.com
Wed Apr 21 06:11:04 CEST 2010


Hi Harley,

> My gut feeling is that it would far from moderate but not impossible. For
> the Windows platform IME support comes pretty easy when you use
> Windows controls, but we're drawing everything in OpenGL, so I think we'd
> have to trap vk_processkey and draw the composition, status, and candidate
> windows ourselves using data we get from IME API. Sounds daunting.

Yes, that's what I plan to do. I think this can be split into three parts.
1. add displaying capability for Non-ASCII character.
2. make sure the Blender can handle utf8 string internally.
3. extends the event system of Ghost to handle platform specific IM
message and generate system independent event.

>
> As Matt mentioned it would be nice to first have international support for things
> like file paths. At the moment we can't browse anything in your "My Documents"
> folder or desktop if your username contains unicode.

On my laptop(win7 32bit Chinese simplified system), I can browse file
path contain Non-ASCII characters correctly, although the display of
filename and pathname is a mess.



-- 
Yaohua Xiong

Traffic and Transportation Engineering College, Tongji Univ.
Cao An Road 4800#, Jia Ding District, Shanghai,  China


More information about the Bf-committers mailing list