not sharing files with regional filenames
Bug #287982 reported by
matej_bb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LinuxDC++ |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I use linuxdcpp 1.02 and I have plenty of files with slovak/czech filenames. But these are not shared, while other files in the same directory, which contain only english characters, are being shared finely. How do I fix this?
Changed in linuxdcpp: | |
importance: | Undecided → Medium |
Changed in linuxdcpp: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Confirmed, if there are non-utf8-encoded filenames, all kinds of errors can be seen.
How to make test case in bash:
1. Use UTF-8 locale.
2. Run the following script in sh:
-------8<------- utf8-\0231' | xargs touch dir-not- utf8-\0231' | xargs touch -- not-utf8- \0231' | xargs mv dir --
#!/bin/sh
echo -e 'file-not-
mkdir dir
cd dir
echo -e 'file-in-
cd ..
echo -e 'directory-
------->8-------
You'll have this hierarchy: not-utf8- ? dir-not- utf8-?
file-not-utf8-?
directory-
+- file-in-
Please know that many less than industrial-strength utilities don't like this at all: be careful.
@matej_bb: Are your filenames utf-8 encoded?