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


_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to