Question bout "Umlaut" and "special characters" (e.g. french) in LUA
Hey there,
I wonder if ESO LUA will work correctly with the umlauts and e.g. french characters like è, é and ê? Most of the time the addons seem to work well, but some users use special characters for the translations (escape charaters, looks like UTF-8 characters or something like that). Here is an example list: Lua Code:
Do we need to use these escape characters for our translations or can we just use the normal characters like ä Ä ö Ö ü Ü é è ê in the localization lua files? Or doesn#t it make any difference? Tahnks. Baertram |
It depends on encoding used in your text editor. Game supports UTF-8 encoding, so make sure that you have selected correct encoding in your text editor. All text editors by default use the same encoding as operating system, so for example I had to change encoding in editor from Windows-1250 to UTF-8 w/o BOM (byte order mark).
In short - if you save file encoded as UTF-8, you don't need to replace special characters with escape codes. |
no problem for writing special european characters such as éàçôû, etc. encode your files in utf-8 and all will be okay, but eso isn't compatible utf-8 at all if you tend tu write some special characters in chineese, korean, indian, etc. ask to russians :D
|
Alright, thx.
|
Yes Ayantir, I noticed some characters will not be shown correctly even if you use UTF-8 w/o BOM files in your addons and if you escape the characters :-(
e.g. the spanish character ñ : \195\177 I've tried it with and without escaping them. Eso will only show a "x" instead. |
Yes, ISO-8859-1 is not really implemennted entirely, quite strange, but reallity.
We got base latin and not latin1. and special chars are coded on 2 bytes |
Quote:
I suspect the limited language support is somewhat reflective of the translations provided by Bethesda (no Spanish or Russia I believe). So try to ensure the glyph is present in the font being used. I suspect many less common fonts (i.e. not system or general purpose fonts like Helvetica or Arial) will lack glyphs with accents. It is pretty common situation in "fantasy" or "fun" fonts. |
All times are GMT -6. The time now is 11:24 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI