[OpenStreetMap] #4127: non-ascii UTF-8 symbols in GPX traces names are converted to '_' on upload

OpenStreetMap trac at openstreetmap.org
Sun Dec 4 20:28:24 GMT 2011


#4127: non-ascii UTF-8 symbols in GPX traces names are converted to '_' on upload
---------------------------------------------+------------------------------
 Reporter:  one_half_3544                    |       Owner:  rails-dev@…                
     Type:  defect                           |      Status:  new                        
 Priority:  minor                            |   Milestone:                             
Component:  website                          |     Version:                             
 Keywords:  trace, gpx, utf-8, localization  |  
---------------------------------------------+------------------------------

Comment(by TomH):

 I think you might guess wrong...

 I doubt we are doing anything to the name, so most likely this is an issue
 with how the browser sends the name and how rails interprets what it
 receives. Character encoding of form data is quite a sticky issue as there
 is no clear way for the browser to indicate what encoding it has used for
 the data it sends.

 There is an extra complication when sending a file that the browser may
 not even know what the encoding of the filename is. On windows it's not an
 issue but on any unix system there is generally no way to know what the
 encoding is for a filename.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4127#comment:1>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list