error "Not the start of the UTF-8 sequence"
spir
denis.spir at gmail.com
Wed Apr 6 02:45:23 PDT 2011
Hello,
I get this error message:
Not the start of the UTF-8 sequence
without any other comment module name or whatnot.
This happens when I just added toString to the following struct, and used it:
struct Node {
// Note: level is equal to the number of chars up to this node.
// Note: a 'path' node without entry has key="".
char ch;
uint level;
Key key;
Value value;
...
string toString() {
if (this.key != "")
return format("<%s %s:%s>", this.ch, this.key, this.value);
else
return format("<%s>", this.ch);
}
}
Hints? I'm blocked :-(
Denis
--
_________________
vita es estrany
spir.wikidot.com
More information about the Digitalmars-d-learn
mailing list