PDA

View Full Version : Force UTF8 Encoding from server side


XenoBIT78
08-14-2010, 12:30 PM
hi :)

im running a glFTPd server and almost all users use FlashFXP so i thought that i might get an answer here..

i know it possible from a client to force UTF8 Character encoding using OPTS UTF8 ON.. if the server supports it ofc. but is it possible to do it the other way around? is there a server side command that forces clients to use UTF8 Encoding ??

bigstar
08-14-2010, 12:55 PM
This is a quote from RFC 2640 http://www.ietf.org/rfc/rfc2640.txt

3.2 Servers compliance

- Servers MUST support the UTF-8 feature in response to the FEAT
command [RFC2389]. The UTF-8 feature is a line containing the exact
string "UTF8". This string is not case sensitive, but SHOULD be
transmitted in upper case. The response to a FEAT command SHOULD
be:

C> feat
S> 211- <any descriptive text>
S> ...
S> UTF8
S> ...
S> 211 end
If the character encoding in FlashFXP is set to auto and UTF8 is found in the FEAT reply then it will default to UTF8.

XenoBIT78
08-14-2010, 01:02 PM
Ok Thanks :)