Originally Posted by Sharlikran
I have some map names with escape sequences in them. One is a BOM sequence.
|
That's very unlikely.
That function is used to look for possible results. It will find "Ödfels^N,in" but not "\xd6dfels^N,auf" and "\xEF\xBF\xBDdfels^N,auf" because I think the string is being treated as a literal match, not as a unicode string.
|
"\xEF\xBF\xBD" is just...garbage, so is \xd6.
You can verify this easily with the commands
/script d("\xEF\xBF\xBD")
and
/script d("\195\150")