WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   How to get special accents like O umlaut to show up? (Topic has 2 images ~300kb.) (https://www.wowinterface.com/forums/showthread.php?t=38434)

3ICE 01-17-11 11:06 AM

How to get special accents like O umlaut to show up? (Topic has 2 images ~300kb.)
 
<-- For question one.
<-- Two.

Hi,

Question one: I don't know how to get the two Hungarumlauts (Hungarian umlauts) to work in an addon: őŐ and űŰ. They are double acute accented letters, which everything seems to hate. Their capital versions even show up as "?" in chat if sent by an addon. (Lowercase works fine as you can see above.)

Question two: Binding keys to these letters works fine, but they don't show up properly in the keybinding interface and are not highlighted in red either.

More info (and addon used) here: wowinterface.com/comment/324098

Thanks.

Seerah 01-17-11 01:10 PM

Does your font support that character?

hankthetank 02-08-11 08:45 AM

1) Are you saving your code in UTF-8?
2) Try using multi-byte encoded strings. To pick up one of your examples: Go to this site. Look up the UTF-8 code for Ő, "LATIN CAPITAL LETTER O WITH TILDE" that is (under "Latin-1 Supplement"). Convert the hexadecimal value (c3 95) to decimal numbers (195 149). Now you can write \195\149 instead (as in print("L\195\149L")). If the character still doesn't show up your font doesn't support that character set.

Akkorian 02-14-11 02:41 AM

In your screenshot, it looks like you’re using the default Friz Quadrata font that comes with WoW, which doesn’t support the Ő, ő, Ű, and ű characters, so I think Seerah’s explanation is probably right. :)

3ICE 02-14-11 10:26 AM

Solved.
 
Thank you for solving my problem.

Sadly, my wow subscription has already ended, but I will remember these pieces of information for the next time I get access to wow and addon development.

--3ICE


All times are GMT -6. The time now is 01:01 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI