Koozali.org: home of the SME Server

ProFTPd supporting UTF-8 & iconv

Offline paulfung

  • **
  • 38
  • +0/-0
    • http://www.datayard.com
ProFTPd supporting UTF-8 & iconv
« on: July 24, 2008, 05:15:45 PM »
Dear All,

Since SME 7.3 I can see that we are working very hard to make SME server to have a good support on UTF-8, and even most of the server-manager panel had been convert to UTF-8 with a little "pain".

But still, a core part of SME server are not having a good support on UTF-8 and thus cause many error when using SME server espicaly when we tye to use UFT-8 in some non-english using country, where char-set support and iconv support is badly needed. As we all know, most ftp clients do only support ISO-8859-1 and have bad localization support, the only way to have good FTP support on UFT-8 is to play a patch to PtoFTPd.

In ProFTPd, since 2005 there is a very important patch are wildly used in all Linux server with ProFTPd :

ProFTPD  - iconv() charset conversion patch http://home.h01.itscom.net/para/software/misc/proftpd-iconv/index-e.html

And there are even already builded rpm for this patch with the version SME server are using :
proftpd-1.3.1-iconv.patch.gz
(http://orz.miroq.info/wp-download.php?file=proftpd-1.3.1-iconv.patch.gz)

proftpd-1.3.1-1.fc8.i686.rpm
(http://orz.miroq.info/wp-download.php?file=proftpd-1.3.1-1.fc8.i686.rpm)

In this version, 2 more lines can be added to proftpd.conf, like :
CharsetLocal UTF-8
CharsetRemote CP932   # This is to support Japanese

With this, you can then set ProFTPd with iconv support to show any char-Set you like

I suggest to add this patch or patched rpm into the new version or add this to the smeupdate to make SME to have a better UTF-8 support

Hope this info can help.  I don't know I should open a suggest on the mail-list, or should start a bug report in the WiKi, any one can help ?

Best Regards,

Paul T.C.Fung
« Last Edit: July 24, 2008, 05:30:03 PM by paulfung »
Best Regards,

Paul T.C.Fung
  :lol:  :hammer:

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: ProFTPd supporting UTF-8 & iconv
« Reply #1 on: July 26, 2008, 10:30:04 AM »
You should open a "New Feature Request" in the bug tracker.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: ProFTPd supporting UTF-8 & iconv
« Reply #2 on: July 26, 2008, 03:05:24 PM »
You should open a "New Feature Request" in the bug tracker.
Even better (or worse), since we take proftpd from CentOS you should enter the request in the CentOS bugtracker (as well), probably with a reference to the bug in the contribs.org bugtracker as well.

Oh and something else, did this patch ever make it to the ProFTPd source? It would be best if this is implemented in ProFTPd offcourse.
« Last Edit: July 26, 2008, 03:07:40 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: ProFTPd supporting UTF-8 & iconv
« Reply #3 on: July 26, 2008, 03:18:14 PM »
Oh and something else, did this patch ever make it to the ProFTPd source? It would be best if this is implemented in ProFTPd offcourse.
Not sure, but this might solve your issue as well: http://bugs.proftpd.org/show_bug.cgi?id=3056
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline paulfung

  • **
  • 38
  • +0/-0
    • http://www.datayard.com
Re: ProFTPd supporting UTF-8 & iconv
« Reply #4 on: July 26, 2008, 03:51:22 PM »
So.... can someone help to set this up in all the bug tracer needed ?

I guess all of us here would like to see the bug/problem solved.  (^_^)
Best Regards,

Paul T.C.Fung
  :lol:  :hammer:

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: ProFTPd supporting UTF-8 & iconv
« Reply #5 on: July 26, 2008, 03:57:36 PM »
So.... can someone help to set this up in all the bug tracer needed ?

I guess all of us here would like to see the bug/problem solved.  (^_^)
Yes, but I would need to know where you get stuck.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline paulfung

  • **
  • 38
  • +0/-0
    • http://www.datayard.com
Re: ProFTPd supporting UTF-8 & iconv
« Reply #6 on: July 26, 2008, 04:25:07 PM »
Well, I just don't have the correct URL for the bug tracer of SME, and when I sent mail to the SME Server's developer mailing list it was rejected......

Any way, I have do my part to dig out the info, and guess I can get some help to work together with the community..... (I call this lazy.....)

(^_^) just joking....
Best Regards,

Paul T.C.Fung
  :lol:  :hammer:

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: ProFTPd supporting UTF-8 & iconv
« Reply #7 on: July 26, 2008, 04:33:50 PM »
Well, I just don't have the correct URL for the bug tracer of SME, and when I sent mail to the SME Server's developer mailing list it was rejected......
You need to be a member of the devinfo list to post to that. The bugtracker is linked in the top menu next to the forums button, or you could follow this link: http://bugs.contribs.org .
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline paulfung

  • **
  • 38
  • +0/-0
    • http://www.datayard.com
Re: ProFTPd supporting UTF-8 & iconv
« Reply #8 on: July 26, 2008, 04:45:08 PM »
I am a member, but fail to sent mail to the list for these 2-3 days. (Well I do commet that I am lazy....)

I will get to the SME bug tracer, can any one help to add this to the ProFTPd / CentOS BUg tracer ?
Best Regards,

Paul T.C.Fung
  :lol:  :hammer: