-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mimeopen with UTF-8 characters in name #15
Comments
(more) The version of mimeopen delivered with Crunchbang Linux is 0.15. The offending character is 'COMBINING ACUTE ACCENT' lower-case "e".: Thanks, |
Hi Paul, If I create such a file on my system I can open it correctly. I notice you open the file from /media/sf_Shared/ - can you please tell me Michiel On Thu, Jun 25, 2015 at 4:02 AM, Paul-Gilmartin notifications@github.com
|
Hello, Michiel, I thought I had eliminated VLC as a suspect with: 619 $ vlc "/media/sf_Shared/L'Odyssée Cartier.flv" with successful open. But, trying the command generated by mimeopen: 616 $ vlc "file:///media/sf_Shared/L'Odyssée Cartier.flv" So, in RFC 1738" URLs are written only with the graphic printable characters of the So I try: 622 $ vlc "file:///media/sf_Shared/L'Odysse%cc%81e Cartier.flv" The message is harsh, but the movie opens OK. VLC isn't adhering Since you asked, I'm running Crunchbang Linux as a guest under 623 $ df -kT Thanks again, |
I confirm that opening files with umlauts in their names works with https://github.com/skalkoto/File-MimeInfo/commit/60d390cf1b1dfbcf039e850093e49d5f6e590d21. Please consider merging. Without the patch (mimeopen 0.29):
With the patch:
Notice that the |
Hello, Michiel,
Earlier I submitted this by email to pardus@cpan.org. I now see I should be using GitHub.
Hello, Jaap,
I have in mimeopen:
No known bugs, please mail the author if you find one.
See File::MimeInfo::Applications(3) and File::DesktopEntry(3)
for some limitations.
...
Copyright (c) 2002, 2012 Jaap G Karssenberg. All rights reserved.
And then a strangely UTF-8k named file:
515 $ Movie="L'Odyssée Cartier.flv"
516 $ ls -l "$Movie"
-rwxrwx--- 1 root vboxsf 13225664 Mar 26 2012 L'Odyssée Cartier.flv
517 $
517 $ # So far so good. But:
518 $
518 $ mimeopen -L -n "$Movie"
Opening "L'Odyssée Cartier.flv" with VLC media player (video/x-flv)
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
[0x8f26908] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x925bf00] filesystem access error: cannot open file /media/sf_Shared/L'Odysse??e Cartier.flv (No such file or directory)
[0x9255930] main input error: open of `file:///media/sf_Shared/L'Odyssée Cartier.flv' failed
I notice the 0x925bf00 message has the filename corrupted, but 0x9255930
renders it correctly.
Have I stumbled into one of the limitations mentioned?
If I simply click on the file's icon in Thunar File Manager, Thunar opens it correctly with VLC.
Thanks,
gil
The text was updated successfully, but these errors were encountered: