CompanyGateways / mytracks

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

Need multi-language support #426

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.When I export my tracks to SD card, the output filename become a empty string 
just because the track's name contains Chinese words.

What is the expected output? What do you see instead?
The filename should support multi-language encoding.

What version of MyTracks are you using? On what version of Android? On what
phone?
MyTracks version: 1.1.4
Android version: 2.1
Phone: HTC Desire

Original issue reported on code.google.com by mytharcher on 25 Apr 2011 at 1:34

GoogleCodeExporter commented 9 years ago
I am not sure we can support this.  We sanitize the track to conform to the set 
of characters that FAT32 supports.  I agree that a blank name is bad but I 
don't think we can create a file with chinese characters.  Can you confirm you 
are able to store such a file on your device?

Original comment by sandordo...@google.com on 25 Apr 2011 at 4:53

GoogleCodeExporter commented 9 years ago
FAT32 officially supports unicode. IMHO we should support this properly. The 
one thing to check, however, is that all OSs (at least Linux, OSX and Windows) 
will properly display and handle the filenames.

Original comment by rdama...@google.com on 26 Apr 2011 at 2:02

GoogleCodeExporter commented 9 years ago

Original comment by rdama...@google.com on 30 Apr 2011 at 9:59

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 5 Jan 2012 at 7:11

GoogleCodeExporter commented 9 years ago
Rodriogo, can you review:
http://code.google.com/r/jshih-mytracks2/source/detail?r=af72371db2175a07751ae58
1248d0f33863a33dc

Tested by saving a track name in Chinese, save the track to the SD card, mount 
the phone to a Windows7 machine, copy the file to Windows7.
Tested on both Froyo (2.2.2) and ICS (4.0.3)

The spec for Fat32 is at:
http://www.scribd.com/doc/2187273/FAT32-File-System-Specification

Original comment by jshih@google.com on 5 Jan 2012 at 11:56

GoogleCodeExporter commented 9 years ago

Original comment by rdama...@google.com on 6 Jan 2012 at 8:13

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 7 Jan 2012 at 12:07

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 9 Jan 2012 at 5:50