Public bug reported:

In mc (midnight commander) i've found that i can't open archives in
folder named 'Рабочий стол' (this means 'Desktop' in russian). After
some researching i've found that problem in /bin/sh (dash) - it can't
redirect input or output from files that contains russian letter 'с'.

Steps to reproduce:
$ /bin/dash
$ echo 'с' | hexdump
0000000 81d1 000a  
0000003
$ mkdir /tmp/с
$ touch /tmp/с/a.txt
$ echo ok > /tmp/с/a.txt
/bin/dash: cannot create /tmp/�/a.txt: Directory nonexistent
$ tail < /tmp/с/a.txt
/bin/dash: cannot open /tmp/�/a.txt: No such file

Expected result (example of bash session):
$ echo 'с' | hexdump
0000000 81d1 000a                              
0000003
$ mkdir /tmp/с
$ touch /tmp/с/a.txt
$ echo ok > /tmp/с/a.txt
$ tail < /tmp/с/a.txt
ok

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Incorrect handling UTF-8 symbol 'с' (U+0441) in redirection operator
https://bugs.launchpad.net/bugs/382187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to