[Bf-committers] Support displaying of non-ASCII filename

Drip Stone wisitvenita at gmail.com
Wed Apr 28 02:27:38 CEST 2010


Hello Yaohua,

For displaying Chinese characters in Blender file browser on Windows, I
convert file name and path string to UTF-8 and later display them. When
opening files, I use old string, which usually needs 2 bytes for 1 Chinese
character. I submitted a patch before, but I am not sure if the patch is
still in repository. You can find it here: http://www.pasteall.org/12750/c


Best regards,
Dripstone



On Tue, Apr 27, 2010 at 4:33 PM, Yaohua Xiong <xiongyaohua at gmail.com> wrote:

> Hi all,
>
> With the help of Diego I can change the GUI fonts and make some test.
> With several further modification the file browser looks  working but
> fail to open blender file with Non-Unicode name or in Non-Unicode
> path. I think it's because the file handling function in C runtime lib
> can't handle utf8 filename.
>
> As far as I know, on linux we can use the Locales system to make C
> runtime utf8 aware, are there something similar on Windows and Mac?
>
>
> Best regards
> Yaohua Xiong
>
> --
> Yaohua Xiong
>
> Traffic and Transportation Engineering College, Tongji Univ.
> Cao An Road 4800#, Jia Ding District, Shanghai,  China
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list