Editing Character Encoding

From FileZilla Wiki
Jump to navigationJump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 37: Line 37:
 
  Response: 211 End
 
  Response: 211 End
  
=== Conflicting specification ===
+
 ( 2011.04.13 20:30 )  : ;[HLMasterServer/127.0.0.1:27015];sample CS severr;info=\protocol\47\challenge\%u\players\max\24\bots\gamedir\cstrike\map\de_nuke\type\d\password\os\w\secure\lan\version\1.1.2.5\region\255\product\cstrike;[SourceMasterServer/127.0.0.1:27015];sample L4D2 severr;info=\protocol\7\challenge\%u\players\max\4\bots\gamedir\left4dead2\map\c2m4_barns\password\os\w\lan\region\255\gameport\27015\specport\dedicated\1\gametype\coop,empty\appid\550\type\d\secure\1\version\2.0.1.1\product\left4dead2;gamedata=\protocol\7\challenge\%u\region\255\gamedata\g:l4d2,coop,realism,survival,versus,teamversus,scavenge,teamscavenge,key:2011\gdversion\1这些是MasterServer处理HL1和HL2引擎游戏服务器的字段信息
 
 
There exists a long expired [http://tools.ietf.org/html/draft-ietf-ftpext-utf-8-option-00 IETF draft] that is in conflict with [http://filezilla-project.org/specs/rfc2640.txt <nowiki>RFC 2640</nowiki>]. This draft also requires the FEAT response to include UTF8, but in addition requires the client to send '''OPTS UTF-8 ON''' to enable UTF-8 support.
 
 
 
If an [http://filezilla-project.org/specs/rfc2640.txt <nowiki>RFC 2640</nowiki>] compliant client sends '''OPTS UTF-8 ON''', it has to use UTF-8 regardless whether '''OPTS UTF-8 ON''' succeeds or not.
 
 
 
[http://filezilla-project.org/specs/rfc2640.txt <nowiki>RFC 2640</nowiki>] compliant servers ''must not'' make UTF-8 dependent on '''OPTS UTF-8 ON'''.
 
 
 
=== SFTP ===
 
 
 
The situation for SFTP is similar to the one for FTP. Current versions of the SFTP specifications (beginning with version 4) require filenames to be encoded as UTF-8.
 
 
 
However, the most commonly used SFTP protocol version is version 3 as implemented in OpenSSH. This version of the SFTP specifications does not require UTF-8. In fact it does not say anything about the encoding.
 
It is however reasonable to assume UTF-8 on those servers for the following reasons:
 
* The later protocol versions require UTF-8
 
* The SSH protocol, under which SFTP operates, already requires UTF-8
 
* Even in version 3 of the protocol, some parts of the protocol already use UTF-8
 
* The native character set on most modern Unix(-like) operating systems is UTF-8
 
 
 
In essence this means that everywhere where SFTP is available, the necessary infrastructure to use UTF-8 is in place.
 

Please note that all contributions to FileZilla Wiki are considered to be released under the GNU Free Documentation License 1.2 (see FileZilla Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)