PDA

View Full Version : XML language validation request



Phalck
December 29th, 2005, 09:58
I am creating a custom ruleset for the Swedish RPG Mutant:UA and have noted that swedish characters are not allowed in the value-fields in the XML-file. If the items are created in-game, for example names of characters on the Character Sheets, swedish characters are allowed.

This is very annoying. Is there a chance that the invalid character validation can ignore the value fields of the XML-tags?

As of now I am creating everything but the actual weapon tables, character classes, etc, since I want them to be written in Swedish. The few instances where this cannot be avoided I have had to change едц to aao, respectively.

Is this something that can be changed in future updates?

/Phalck

Goblin-King
December 29th, 2005, 14:35
You can try adding this as the first line in your ruleset file:

<?xml version="1.0" encoding="iso-8859-1"?>

Phalck
December 30th, 2005, 12:41
Oooh, I love easy fixes. It worked!

/Phalck

Goge
March 28th, 2007, 23:10
I have the same problem.

I want to be able to make characters with Greek names
The iso code for greek language is 8859-7

So the base.xml file looks like that


<?xml version="1.0" encoding="iso-8859-7"?>
<root>
<staticdata source="rulesets\Goge\database\spelllists.xml" />
<staticdata source="rulesets\Goge\database\spelllists_domains.xml" />
<staticdata source="rulesets\Goge\database\spelllists_schools.xml" />
<staticdata source="rulesets\Goge\database\classes.xml" />
...


After that I start the program and the greek character still appear like едц.
What else i have to do?