Changes between Initial Version and Version 1 of Ticket #22363, comment 39
- Timestamp:
- 11/18/2013 08:25:35 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22363, comment 39
initial v1 3 3 1. I think there are plugins like cyr2lat, arabic-to-lat etc. that convert characters in Non-Latin scripts to ASCII. These will work if they hook to `sanitize_file_name`. 4 4 5 2. There should be an extra filter for Windows-based servers that tries to convert everything possible to ASCII and strips out the rest. Otherwise, the attachments and images ''will'' break under Windows. But such a filter would need a fallback filename for a case where converting/stripping leaves no ASCII at all. What would that be?5 2. There should be an extra filter for Windows-based servers that tries to convert everything possible to ASCII and then strips out the rest. Otherwise, the attachments and images ''will'' break under Windows. But such a filter would need a fallback filename for a case where converting/stripping leaves (practically) no ASCII at all. For example, the Russian file name (example 4 above) when stripping all non-ASCII and multiple dashes leaves `1-2-2a-2b.jpg` How should such a case be handled?