gnome2 utf-8 patch

Tomas Cernaj tcernaj at gmx.de
Wed Mar 3 06:30:57 CST 2004


Am Mi, den 03.03.2004 schrieb David Hampton um 05:45:
> I've seen several sources state that a null character is never used as
> part of a utf-8 string, so it should be safe to replace this g_strndup
> with g_strdup.  I didn't change it though.
> 

Right, utf-8 never uses the null character to encode other characters.
In fact it uses all ASCII values (0x00-0x7F) _only_ to encode ASCII
characters, i.e. in valid utf-8 you won't find ASCII codes anywhere
inside an extended character sequence. 

Tomas




More information about the gnucash-devel mailing list