OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Accented or International Characters

Go down

Accented or International Characters Empty Accented or International Characters

Post  wanderer Thu Mar 03, 2011 5:10 pm

In 3.2.7, if a GPX route file contains accented characters (e.g. àâéèéçô), the route can not load.

wanderer
Guest


Back to top Go down

Accented or International Characters Empty Re: Accented or International Characters

Post  orux Thu Mar 03, 2011 7:50 pm

wanderer wrote:In 3.2.7, if a GPX route file contains accented characters (e.g. àâéèéçô), the route can not load.

Hi;

OruxMaps works fine with those characters; may be an invalid xml character (&, <, >, ...)

& must ber replaced with &amp;
< with &lt
...

or use <![CDATA[ --any character-- ]]>

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Accented or International Characters Empty Re: Accented or International Characters

Post  wanderer Thu Mar 03, 2011 8:30 pm

OruxMaps works fine with those characters; may be an invalid xml character (&, <, >, ...)

I'm using directions generated by Google Maps and gMaptoGPX to generate the GPX file ... and I've isolated the problem to the accented characters in the DESC and CMT entries.

Code:

  <rte>
      <name>route0</name>
      <cmt>Rue du Stade to Vallères</cmt>
      <desc>Rue du Stade to Vallères</desc>
...
      <rtept lat="47.34272" lon="0.50813">
        <name>GRTP-025</name>
        <cmt>Continue straight onto Les Hucaudières</cmt>
        <desc>Continue straight onto Les Hucaudières</desc>
...

So currently, I'm simply using Notepad to replace all the accented characters... and then dropping the GPX file onto firefox as a final check (since firefox will show me the offending line).

wanderer
Guest


Back to top Go down

Accented or International Characters Empty Re: Accented or International Characters

Post  orux Thu Mar 03, 2011 9:02 pm

wanderer wrote:
OruxMaps works fine with those characters; may be an invalid xml character (&, <, >, ...)

I'm using directions generated by Google Maps and gMaptoGPX to generate the GPX file ... and I've isolated the problem to the accented characters in the DESC and CMT entries.

Code:

  <rte>
      <name>route0</name>
      <cmt>Rue du Stade to Vallères</cmt>
      <desc>Rue du Stade to Vallères</desc>
...
      <rtept lat="47.34272" lon="0.50813">
        <name>GRTP-025</name>
        <cmt>Continue straight onto Les Hucaudières</cmt>
        <desc>Continue straight onto Les Hucaudières</desc>
...

So currently, I'm simply using Notepad to replace all the accented characters... and then dropping the GPX file onto firefox as a final check (since firefox will show me the offending line).

Hi;

Please, could you send me one of those files?

I can load gpx with different accented characters without problems.

oruxuro@gmail.com

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Accented or International Characters Empty Re: Accented or International Characters

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum