Help with non-UTF 8 characters plist file needed :(

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Help with non-UTF 8 characters plist file needed :(

Post by Lestradae »

I hope someone can help me with this.

"plist editor for windows" has found out that three rather long plists I am working on have been contaminated with non-UTF 8 characters - the error message generated is "Conversion of data failed. The file is not UTF-8, or in the encoding specified in XML header if XML."

The XML code in there is correct and without errors. It has to be just them damn characters that i want to get out.

Is there any parser, program, any automated process that can get such contamination out of a plist file? Does anyone know of something?

A little help would be most appreciated,

Cheers L
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Try AgPad (free download - a google should find it). I don't know if it can fix it as such, but if you set the display to XML anything that is not a valid character for XML gets highlighted in red so should at least help a manual removal.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

.

Post by Lestradae »

Thanks for the tip, I'll try that!
Post Reply