Geert Vantienen
-
2004-01-21
- assigned_to: nobody --> firework
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.