Page 1 of 1

XML Help

PostPosted: Wed Dec 12, 2007 8:42 pm
by lanyards
I just finished the Waterloo Map XML, and got out all the bugs except for one. This one:

line 162: <name>Chässe</name> - Input is not proper UTF-8, indicate encoding ! Bytes: 0xE4 0x73 0x73 0x65

I have no idea what it means, so could someone please tell me how to fix it? Thanks.

--lanyards

Re: XML Help

PostPosted: Wed Dec 12, 2007 8:50 pm
by oaktown
lanyards wrote:I just finished the Waterloo Map XML, and got out all the bugs except for one. This one:

line 162: <name>Chässe</name> - Input is not proper UTF-8, indicate encoding ! Bytes: 0xE4 0x73 0x73 0x65

I have no idea what it means, so could someone please tell me how to fix it? Thanks.

--lanyards

the XML probably doesn't understand the ä

try replacing it with
&#x00E4;

so Chässe becomes Ch&#x00E4;sse

I might have this wrong.

PostPosted: Wed Dec 12, 2007 8:52 pm
by lanyards
OK, thanks. I'll try that.

--lanyards

PostPosted: Wed Dec 12, 2007 8:53 pm
by lanyards
:( Nope, it still says the same thing. Thanks anyways.

--lanyards

PostPosted: Wed Dec 12, 2007 10:42 pm
by gimil
change the XML from

Chässe

to chasse

The XML wont understand the sybols in the letter.

You can still present it as Chässe on te map though.

PostPosted: Wed Dec 12, 2007 10:44 pm
by Herakilla
the XML just hates you lol and wants to make your life miserable

PostPosted: Wed Dec 12, 2007 11:59 pm
by oaktown
lanyards wrote::( Nope, it still says the same thing. Thanks anyways.

--lanyards

actually, I just tried it using one of my map xml files and it worked.

First I got:
line 98: <name>ChŠsse</name> - Input is not proper UTF-8, indicate encoding ! Bytes: 0x8A 0x73 0x73 0x65

Then I made the change as above and it came out fine. The line should look like this:
<name>Ch&#x00E4;sse</name>

PostPosted: Thu Dec 13, 2007 2:06 am
by yeti_c
Nice job Oaktown...

You should be able to google UTF 8 encoding - and your a and no doubt you will find examples of encoding (That no doubt look similar to Oakys)

C.

PostPosted: Thu Dec 13, 2007 7:59 am
by lanyards
oaktown wrote:actually, I just tried it using one of my map xml files and it worked.

First I got:
line 98: <name>ChŠsse</name> - Input is not proper UTF-8, indicate encoding ! Bytes: 0x8A 0x73 0x73 0x65

Then I made the change as above and it came out fine. The line should look like this:
<name>Ch&#x00E4;sse</name>


Nevermind, you were right. It works now. Thanks guys.

--lanyards

PostPosted: Thu Dec 13, 2007 4:03 pm
by lanyards
I found this one to be for ü: ü

Is this right?