You are not logged in.
My system is set to utf8:
[xxxxxx@xxxxxxxxx ~]$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8I try to open a file with non ASCII characters in it: test_é.pdf
[xxxxxx@xxxxxxxxx ~]$ mimeopen test_é.pdf
Opening "test_é.pdf" with Xpdf (application/pdf)
I/O Error: Couldn't open file 'test_é.pdf'The system is visibly confused about encoding. xdg-open use mimeopen (I do not use a desktop but plain icewm) and fail also (it fallback to open the default browser on the filename). How can I correct this behavior? Is there something I do wrong (or is it a bug of mimeopen). All works well for filenames using ASCII characters.
Edited: Change every locale to UTF-8, including LANG; according to the remark of Cloudef
Last edited by olive (2013-02-21 19:49:52)
Offline
My system is set to utf8:
LANG=CNo, it isn't.
Right, I have set up everything to UTF-8 and the problem persists (I updated the first post with this new setup) (Moreover I think LANG should not interfere with this, it should be hadle by the LC_CTYPE variable).
Last edited by olive (2013-02-21 19:50:34)
Offline