Cyrillic support
Bug #69226 reported by
GSMD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
proftpd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
While trying to upload files with Cyrillic characters, I get something like "напит
If I create a folder with Cyrillic characters via console, the same "напиС" are shown when accessing via ftp.
Everything worked fine with Dapper (this bugreport is for Edgy, in case the selected distribution is not shown).
Any details - let me know.
Changed in proftpd: | |
assignee: | nobody → kvs16 |
status: | New → In Progress |
To post a comment you must log in.
Here is a patch that solves this (it works for 1.3.0). Requires iconv toolkit to be installed (http:// ftp.gnu. org/pub/ gnu/libiconv/ libiconv- 1.11.tar. gz). After installing iconv, applying patch and enabling iconv support in proftpd (use configure opions: --with- modules= mod_codeconv: mod_df) - simply add the following into your proftpd.conf:
<IfModule mod_codeconv.c>
CharsetLocal UTF-8
CharsetRemote CP1251
</IfModule>
Where CharsetLocal is a system charset on the server machine, and CharsetRemote - on the client one.
This patch solves problem not only with Cyrillic characters, but with any encoding supported by iconv (use iconv -l to view full list).
Have fun!