Thread Tools Display Modes
09-28-06, 10:26 AM   #1
Vdopje
A Defias Bandit
Join Date: Sep 2006
Posts: 2
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
  Reply With Quote
09-28-06, 12:18 PM   #2
Wikwocket
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 61
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
  Reply With Quote
09-28-06, 12:33 PM   #3
Vdopje
A Defias Bandit
Join Date: Sep 2006
Posts: 2
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
  Reply With Quote
10-01-06, 09:17 AM   #4
Bull3t
A Murloc Raider
 
Bull3t's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 5
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?
__________________
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Question about special characters

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off