maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [bug #28603] Non-latin characters are removed from gene


From: Maxime Petazzoni
Subject: [Maposmatic-dev] [bug #28603] Non-latin characters are removed from generated file names
Date: Thu, 02 Dec 2010 22:25:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.587.0 Safari/534.12

Follow-up Comment #1, bug #28603 (project maposmatic):

I don't really see Punycode as being a viable solution here. It does generate
ASCII, but it doesn't add anything in terms of readable information to the
filename:

>>> u'007864_2010-01-14_07-23_دمشق.png'.encode('punycode')
'007864_2010-01-14_07-23_.png-jq8asg0r8c'

I would simply not strip non-ASCII characters. The filesystem supports it
anyway. I'll give it a try on my local instance and see how it goes in terms
of browser interaction, etc.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28603>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]