Locale - WoW doesn't render Unicode characters
I was testing a localization by "AceLocale-3.0". I am polish and was testing a few strings in InterfaceOptionsFrame. It turns out that WoW cannot correctly display polish characters and shows them as question marks "?". I read that strings used for localization in different languages should be represented as a sequence of escaped codes in Unicode, e.g. the letter "ż" is coded as a sequence of two following bytes \197\188 (or \xC5 \xBC); link to Unicodes. I have done it but WoW still does not correctly recognise characters in my language.
Any idea what I should do? Does WoW use different code pages when I change text to French? |
I tested this ingame and was able to print that character among others (first line, 14:58).
/run print("\197\188") However, I do have all of WoW's fonts replaced, so it's probably WoW's default fonts that don't support enough characters. |
Quote:
Alternately you can create the folder World of Warcraft\_retail_\Fonts and put your unicode fonts there, named appropriately. |
It's 2019 now and default font in WoW still desn't recognise Unicode characters! Shame on you Blizzard!
Anyway, thanks for pointing this out, guys! I'll have a look at LibSharedMedia-3.0 |
I have read through LibSharedMedia and I can see how to register new fonts for an addon.
However, I can't figure out how to use a new font in InterfaceOptionsFrame or any other frame. At the moment, options frame is opened by invoking "InterfaceOptionsFrame_OpenInCategory(optionsFrame)", which then is opened in default Blizzard's interface window. I currently don't know what to do to change font in there. I have also read through Ace3 again and in one of the comments someone figured out that it would be possible to open options in a separate window when AceConfigDialog:Open(appName) is used. This would be possible be to apply a new font but still I can't figure out how to do that. |
Look at the Custom Controls example here: https://www.wowace.com/projects/ace3...options-tables
You would need to create a defaults table and an options table, register them with Ace3 as per the other examples in the documentation. In your options table follow the Custom Controls example. If you get stuck, start a new thread and I'm sure someone will help out. |
All times are GMT -6. The time now is 09:02 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI