When using function "Video Import Directory" with the importing file having national characters the import doesn't work. File is transfered from import directory, but the link (or whatever we call it) created in node is wrong and directs to shortened version of file name. Meaning that for example if original file name is "abcčde.wmv" the created link is directing to "abc".

Transliteration module unfortunately only works for upload through drupal interface, but maybe it could be somehow adjusted to work even in this case, but I'm not aware of such solution.

I tried this on 6.x-1.5 version and dev version 6.x-1.x-dev (2010-May-21) with same error.

Comments

svihel’s picture

Hello, are there any news around this issue?

Vector-’s picture

I would hazard a guess that this could be fixed by calling urlencode() on the filepath before inserting it into the DB in flashvideo_import

Full Transliteration support also shouldn't be all that difficult - right after the new file path finishes being set, conditionally call transliterate to process the file name...

#655360: flashvideo_import munges multisite paths might help get you started - I think you'd want to add the conditional call to transliterate either right before or right after the line that patch changes