RFC 2066 (rfc2066) - Page 1 of 12
TELNET CHARSET Option
Alternative Format: Original Text Document
Network Working Group R. Gellens
Request for Comments: 2066 Unisys
Category: Experimental January 1997
TELNET CHARSET Option
Status of this Memo
This memo defines an Experimental Protocol for the Internet
community. This memo does not specify an Internet standard of any
kind. Discussion and suggestions for improvement are requested.
Distribution of this memo is unlimited.
Abstract
This document specifies a mechanism for passing character set and
translation information between a TELNET client and server. Use of
this mechanism enables an application used by a TELNET user to send
and receive data in the correct character set.
Either side can (subject to option negotiation) at any time request
that a (new) character set be used.
1. Command Names and Codes
CHARSET.......................42
REQUEST ....................01
ACCEPTED ...................02
REJECTED ...................03
TTABLE-IS ..................04
TTABLE-REJECTED ............05
TTABLE-ACK .................06
TTABLE-NAK .................07
As a convenience, standard TELNET text and codes for commands used in
this document are reproduced here (excerpted from [1]):
All TELNET commands consist of at least a two byte sequence: the
"Interpret as Command" (IAC) escape character followed by the code
for the command. The commands dealing with option negotiation are
three byte sequences, the third byte being the code for the option
referenced. ... [O]nly the IAC need be doubled to be sent as data,
and the other 255 codes may be passed transparently. The
following are [some of] the defined TELNET commands. Note that
these codes and code sequences have the indicated meaning only
when immediately preceded by an IAC.
Gellens Experimental