WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Question about special characters (https://www.wowinterface.com/forums/showthread.php?t=6350)

Vdopje 09-28-06 10:26 AM

Question about special characters
 
HI there,

I am trying to create my own DKP addon, but I have a question about special characters.

The following I try to read ingame from the .lua file:

["Björnbärserk"] = {
["name"] = "Björnbärserk",
["dkp"] = 403.38,
["class"] = "Paladin"
},
["Celebdil"] = {
["name"] = "Celebdil",
["dkp"] = 354.75,
["class"] = "Warrior"
},
etc. etc. etc

Now everything works fine and all players in the lua file gets listed in-game execpt the name Björnbärserk which is listed as 'Bjnbserk' in-game. I am 99% sure this has to do something because the name contains special characters which wow can't read or something.

Is there any solution to solve this so the name Björnbärserk is getting listed correctly in wow?

I hope someone knows a solution because I tried lots of things already.

Thanks for reading,
Vdopje

Wikwocket 09-28-06 12:18 PM

Here is a good guide to get you started on understanding how special characters are handled by WoW:

http://www.wowwiki.com/HOWTO:_Locali...rs_and_Umlauts

Vdopje 09-28-06 12:33 PM

Quote:

Originally Posted by Wikwocket
Here is a good guide to get you started on understanding how special characters are handled by WoW:

http://www.wowwiki.com/HOWTO:_Locali...rs_and_Umlauts

Well I already read that but I dont understand how to get it working though.

I've tried:

["Bj\195\182rnb\195\164rserk"] = {
["name"] = "Bj\195\182rnb\195\164rserk",
["dkp"] = 403.38,
["class"] = "Paladin"
},

but this aint working as well.. Can you explain me a bit better on how to deal with them?

Thanks, V

Bull3t 10-01-06 09:17 AM

Quote:

Originally Posted by Vdopje
Well I already read that but I dont understand how to get it working though.

I've tried:

["Bj\195\182rnb\195\164rserk"] = {
["name"] = "Bj\195\182rnb\195\164rserk",
["dkp"] = 403.38,
["class"] = "Paladin"
},

but this aint working as well.. Can you explain me a bit better on how to deal with them?

Thanks, V

You are right, "Björnbärserk" would infact read: "Bj\195\182rnb\195\164rserk", so where is the problem?


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

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