Russian Names

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Pronin
Posts: 2
Joined: Wed Jan 20, 2010 7:41 pm

Russian Names

#1 Post by Pronin »

Greetings. Tell as it is possible to work with Russian names? At script creation it is used NPC for sale, repair at it the name in Russian is registered. At start gives out an error in a way file.

Excuse for bad English.
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: Russian Names

#2 Post by Administrator »

What? You essentially said, "I had an error. I'm not going to tell you what it is, but I expect you to know the cause." Not very helpful.
Pronin
Posts: 2
Joined: Wed Jan 20, 2010 7:41 pm

Re: Russian Names

#3 Post by Pronin »

Image
This is name of NPC.

Image
This is error.

So. I have created a returning way to a hunting place. In the course of a way it should approach to NPC for repair and sale of things. But at the test the error is deduced.

player:target_NPC("ђ®ид®а"); <---- it is name of NPC in waypoint file.
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: Russian Names

#4 Post by Administrator »

Use Notepad++ to modify the XML files. You must go to "Format->Encode in UTF8 without BOM", and then add this to the very first line of the file:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
EDIT: Actually, since this is going into the Lua code section, you'll have to convert the Russian characters to decimal codes. See this.
Post Reply