Cyrillic or special character
BUG: Cyrillic or special character
Cyrillic or other special characters produce lexical errors. This is probably because the Gold Parser Builder does not add those as “printable characters”
Possible solutions would be to
- Redefine those “printable characters” in the builder grammar
- Change values in the compiled grammar file
- Rewrite the Gold Parser Builder
Added simple (preprocessing) method that checks the source file before parsing and escapes those characters to HTML escape sequences “ODE;”. Still don’t work with some special characters, though - like planet earth