As noted before, to fully merge the encoding changes:
- Remove `#define RYZOM_LUA_UCSTRING` to completely eliminate ucstring support from lua & ui expressions.
- Then remove all ucstring, toUtf8(), and uc_ prefixes from your lua & xml scripts.
- Add `localize="false"` to the `npc_web_browser` container title.
That should eliminate all encoding issues, since everything will be UTF-8.
But it may be tricky with two different client versions, since you also have scripts server-side...
For most cases you should be able to eliminate the ucstring from the scripts first, after the client is patched for everyone, since regular string will be UTF-8 already. Then disable the macro afterwards.
- Remove `#define RYZOM_LUA_UCSTRING` to completely eliminate ucstring support from lua & ui expressions.
- Then remove all ucstring, toUtf8(), and uc_ prefixes from your lua & xml scripts.
- Add `localize="false"` to the `npc_web_browser` container title.
That should eliminate all encoding issues, since everything will be UTF-8.
But it may be tricky with two different client versions, since you also have scripts server-side...
For most cases you should be able to eliminate the ucstring from the scripts first, after the client is patched for everyone, since regular string will be UTF-8 already. Then disable the macro afterwards.
---
Kaetemi