Cyrillic support

Bug #69226 reported by GSMD
6
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 "напитки_бар.ods" instead of normal Cyrillic characters.
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.

Viktor Kazakov (kvs16)
Changed in proftpd:
assignee: nobody → kvs16
status: New → In Progress
Revision history for this message
Viktor Kazakov (kvs16) wrote :

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!

Changed in proftpd:
status: In Progress → Fix Committed
Revision history for this message
Viktor Kazakov (kvs16) wrote :
Changed in proftpd:
assignee: kvs16 → nobody
status: Fix Committed → Confirmed
Revision history for this message
Viktor Kazakov (kvs16) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.