XML Help

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
lanyards
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am

XML Help

Post 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
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
oaktown
Posts: 4451
Joined: Sun Dec 03, 2006 9:24 pm
Location: majorcommand

Re: XML Help

Post 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.
Image
User avatar
lanyards
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am

Post by lanyards »

OK, thanks. I'll try that.

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
lanyards
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am

Post by lanyards »

:( Nope, it still says the same thing. Thanks anyways.

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
gimil
Posts: 8599
Joined: Sat Mar 03, 2007 12:42 pm
Gender: Male
Location: United Kingdom (Scotland)

Post 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.
What do you know about map making, bitch?

natty_dread wrote:I was wrong


Top Score:2403
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Post by Herakilla »

the XML just hates you lol and wants to make your life miserable
Come join us in Live Chat!
User avatar
oaktown
Posts: 4451
Joined: Sun Dec 03, 2006 9:24 pm
Location: majorcommand

Post 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>
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post 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.
Image
Highest score : 2297
User avatar
lanyards
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am

Post 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
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
lanyards
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am

Post by lanyards »

I found this one to be for ü: ü

Is this right?
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
Post Reply

Return to “Foundry Discussions”