Basically you have to escape special chars like ? ? ?, which occur in german pet names a few times.
For example this works for german:
If a pet name is passed to Lua (in GetTypeByName and HasPet), you have to use EscapePetname(petname) instead of petname.
Same should work for each other language with such nonascii chars. The Lua.Escape function won't handle them right now.
No support from me - just a hint for maybe.
For example this works for german:
PHP:
private string EscapePetname(string petname)
{
return petname.Replace("?", "\\195\\164").Replace("?", "\\195\\132").Replace("?", "\\195\\182").Replace("?", "\\195\\150")
.Replace("?", "\\195\\188").Replace("?", "\\195\\156").Replace("?", "\\195\\159");
}
If a pet name is passed to Lua (in GetTypeByName and HasPet), you have to use EscapePetname(petname) instead of petname.
Same should work for each other language with such nonascii chars. The Lua.Escape function won't handle them right now.
No support from me - just a hint for maybe.