Non-Ascii Characters in compile xml files.

3 replies [Last post]
Joined: 06/19/2009

GooTool fails to correctly process compile xml files containing non-ascii characters.
Split infinitive I know.. but correctly was just too far away from process

First raised as a bug in WooGLE... (fixed in next version).. but the problem extends to GooTool processing the resulting goomod.

Given the following in .resrc.xml (notice the é and É in Blue)

      <ResourceManifest>
              <Resources id="scene_nonascii">
                      <SetDefaults idprefix="" path="./" />
      <Image id="IMAGE_SCENE_NONASCII_BLUÉ" path="res/levels/nonascii/blué" />
      </Resources>
      </ResourceManifest>

The game accepts this, and correctly loads the resource.

When installed from a goomod, via GooTool...
the following ends up in .resrc.bin (notice the UTF-8 BOM and the É and é )

<ResourceManifest>
        <Resources id="scene_nonascii">
          <SetDefaults idprefix="" path="./" />
          <Image id="IMAGE_SCENE_NONASCII_BLUÉ" path="res/levels/nonascii/blué"/>
        </Resources>
      </ResourceManifest>
And the game crashes

Joined: 08/06/2010

Did you have an English teacher who didn't like people to often split their infinitives? Wink

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 08/06/2010

This might be the problem in Sandbox No Limits on my system! Somehow it's encrypting 2 files with a few weird characters in them that crash WooGLE (Sandbox), WooBLE (IvySP), and WoG.

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 06/19/2009

Sandbox and IvySP are fine on my system.. in WooGLE/BLE and the game.
And I can't see any "dodgy-looking" characters that might cause problems.

Can you post the files with the wierd chars, or just the bits with them in if it's a big file.