VRML uses utf8 encoding according to its specification. All my files also begin with:
#VRML V2.0 utf8
The Tokenizer contains a NextChar method. This looks like the place that should handle the utf8 decoding.
A .Net string uses utf16, so a single char is actually not enough for 21bits that utf8 can have. A solution could be to change the return type of NextChar to int and that either contains one or two 16bit chars.
VRML uses utf8 encoding according to its specification. All my files also begin with:
#VRML V2.0 utf8
The
Tokenizer
contains aNextChar
method. This looks like the place that should handle the utf8 decoding.A .Net string uses utf16, so a single char is actually not enough for 21bits that utf8 can have. A solution could be to change the return type of
NextChar
to int and that either contains one or two 16bit chars.