rufuscoder / Shakespeer

A Direct Connect Client for Multiple Platforms
GNU General Public License v2.0
28 stars 14 forks source link

sphubd doesnt understand nonUTF8 filenames #156

Open rufuscoder opened 11 years ago

rufuscoder commented 11 years ago

Original author: zintis.p...@e-mail.lv (July 14, 2009 18:50:08)

What steps will reproduce the problem?

I am useing sphubd on Linux. Linux runs samba 2 with configuration like:

client code page = 775 character set = ISO8859-13

i tried to share file with local charsets in filename: lakstīgalā peķģa.txt

file did not show on share and sphubd log shows:

Tue 14 21:28:38 * 2684 Unknown encoding in filename [lakstīgalā peķģa.txt] *

What is the expected output? What do you see instead?

the should be an option to convert filenames to utf-8?!

What version of the product are you using? On what operating system?

shakespeer 0.9.11, and cli on linux.

Original issue: http://code.google.com/p/shakespeer/issues/detail?id=133

rufuscoder commented 11 years ago

From zintis.p...@e-mail.lv on July 14, 2009 18:57:00 forgot to mention - filesystem is ext3. why is it important? if someone wants to share files on USB disc with NTFS or FAT32? It least Latvian language filenames in windows are not coded in unicode. It makes difficult to use the same big USB disk on windows, Linux and MAC.

it looks like the same problem is with ntfs-3g. they also think that everything is coded in UTF-8 :)?

My goal is not to see a fast solution but rather warn users about the situation that can arise.