anongit / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Accent and encoding GPX and other exported files #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set the language to French or other language that uses long character codes.
2. Export track.
*********************************************
<?xml version="1.0" encoding="ISO-8859-1"
standalone="yes"?>
***********************************************
but in fact it is not encoding in ISO-8859-1 format , but in UTF-8 ,
and this add some mistakes like :

*******************************************************
Durée: 5:31
Durée (déplacement): 5:06
Vitesse moyenne: 9,80 km/h (6,1 mi/h)
Vitesse moyenne (déplacement): 10,63 km/h (6,6 mi/h)
Vitesse max: 13,50 km/h (8,4 mi/h)
Altitude min: 445 m (1459 pied)
Altitude max: 466 m (1529 pied)
Dénivelé cumulé: 1 m (2 pied)
********************************************************

so, if you change the introduction by this :

*********************************************
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
***********************************************
it will be perfect :

********************************************
Durée: 5:31
Durée (déplacement): 5:06
Vitesse moyenne: 9,80 km/h (6,1 mi/h)
Vitesse moyenne (déplacement): 10,63 km/h (6,6 mi/h)
Vitesse max: 13,50 km/h (8,4 mi/h)
Altitude min: 445 m (1459 pied)
Altitude max: 466 m (1529 pied)
Dénivelé cumulé: 1 m (2 pied)
**********************************************

What is the expected output? What do you see instead?

What version of MyTracks are you using? On what version of Android? On what
phone?

Please provide any additional information here:

Original issue reported on code.google.com by sandor.d...@gmail.com on 25 May 2010 at 2:33

GoogleCodeExporter commented 9 years ago
This bug is on the following configuration:
I use my Track version 1.014 !
in a HTC desire ( sense, Android 2.1)

Original comment by florian....@gmail.com on 25 May 2010 at 7:20

GoogleCodeExporter commented 9 years ago

Original comment by simmonmt@google.com on 6 Jan 2011 at 12:35

GoogleCodeExporter commented 9 years ago
I have a fix for this bug in simmonmt-staging-gmail, revision 8bbd3e943a.

Original comment by simmonmt@google.com on 6 Jan 2011 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by simmonmt@google.com on 6 Jan 2011 at 11:46

GoogleCodeExporter commented 9 years ago

Original comment by sandordo...@google.com on 11 Jan 2011 at 4:22