The degree sign there is actually in UTF-8, but everything I'm looking at says it should work..... If it's shifting the highlighting over then it means that a character isn't getting properly Consume()'d somewhere in the string..... Modify the ConsumeString method and check if the current character is larger than 0x7F, if it is, add 1 to the number of characters being consumed. That should (hopefully) detect the UTF-8 character and consume both bytes of it.
↧