[Python-checkins] python/dist/src/Doc/lib libcodecs.tex,1.21,1.22

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Tue, 15 Jul 2003 22:17:25 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv18967

Modified Files:
	libcodecs.tex 
Log Message:
A variety of markup-level adjustments.


Index: libcodecs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcodecs.tex,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** libcodecs.tex	18 Jun 2003 01:58:31 -0000	1.21
--- libcodecs.tex	16 Jul 2003 05:17:23 -0000	1.22
***************
*** 900,908 ****
  Applications) and \rfc{3492} (Nameprep: A Stringprep Profile for
  Internationalized Domain Names (IDN)). It builds upon the
! \code{punycode} encoding and \module{stringprep}.
  
  These RFCs together define a protocol to support non-\ASCII{} characters
  in domain names. A domain name containing non-\ASCII{} characters (such
! as ``www.Alliancefran\c{c}aise.nu'') is converted into an
  \ASCII-compatible encoding (ACE, such as
  ``www.xn--alliancefranaise-npb.nu''). The ACE form of the domain name
--- 900,908 ----
  Applications) and \rfc{3492} (Nameprep: A Stringprep Profile for
  Internationalized Domain Names (IDN)). It builds upon the
! \code{punycode} encoding and \refmodule{stringprep}.
  
  These RFCs together define a protocol to support non-\ASCII{} characters
  in domain names. A domain name containing non-\ASCII{} characters (such
! as ``www.Alliancefran\c caise.nu'') is converted into an
  \ASCII-compatible encoding (ACE, such as
  ``www.xn--alliancefranaise-npb.nu''). The ACE form of the domain name
***************
*** 916,926 ****
  Python supports this conversion in several ways: The \code{idna} codec
  allows to convert between Unicode and the ACE. Furthermore, the
! \module{socket} module transparently converts Unicode host names to
  ACE, so that applications need not be concerned about converting host
  names themselves when they pass them to the socket module. On top of
  that, modules that have host names as function parameters, such as
! \module{httplib} and \module{ftplib}, accept Unicode host names
! (\module{httplib} then also transparently sends an IDNA hostname in
! the \code{Host:} field if it sends that field at all). 
  
  When receiving host names from the wire (such as in reverse name
--- 916,926 ----
  Python supports this conversion in several ways: The \code{idna} codec
  allows to convert between Unicode and the ACE. Furthermore, the
! \refmodule{socket} module transparently converts Unicode host names to
  ACE, so that applications need not be concerned about converting host
  names themselves when they pass them to the socket module. On top of
  that, modules that have host names as function parameters, such as
! \refmodule{httplib} and \refmodule{ftplib}, accept Unicode host names
! (\refmodule{httplib} then also transparently sends an IDNA hostname in
! the \mailheader{Host} field if it sends that field at all). 
  
  When receiving host names from the wire (such as in reverse name