View Single Post
06/01/14, 06:15 AM   #2
Iyanga
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 183
Originally Posted by Sharlikran View Post
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")
  Reply With Quote