[Bf-committers] why our own UTF functions?

joe joeedh at gmail.com
Mon Jul 6 05:13:56 CEST 2009


These may not work well on all platforms.

Joe

On Sat, Jul 4, 2009 at 11:04 PM, Campbell Barton<ideasman42 at gmail.com> wrote:
> Since python3 uses unicode strings in some places I looked into
> conversion and found that we have our own functions to deal with this,
> but there are also system functions for it.
>
> Heres some functions that could be removed in font.c, using system
> functions instead.
> - utf8towchar with mbstowcs
> - wcs2utf8s with wcstombs
> - utf8slen with mblen
> - chtoutf8 with mbtowc
>
> any reason blender includes its own?
> --
> - Campbell
> _______________________________________________
> 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