Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 string handling is not multi-byte aware

open
None
5
2004-01-21
2003-04-10
Steve Swales
No

Some of the string handing in genes assumes that the data
is 1-byte (i.e. ASCII). If the data is in UTF-8, need
to use
multi-byte string handling, or convert to wide characters.

Specifically, you cannot do, e.g.:
if(buf[0] == '/') {
...
}

Where buf is a char buf of utf8 data.

examples exist in e.g. importGedcom.cpp.

Discussion

    • assigned_to: nobody --> firework