[Bf-committers] why our own UTF functions?

Tyler Tricker tntricker at gmail.com
Mon Jul 6 16:05:28 CEST 2009


That's a really good question since they are all functions of the stdlib.

On Sat, Jul 4, 2009 at 10: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