Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
d24c767d
Kaydet (Commit)
d24c767d
authored
Tem 16, 2003
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
A variety of markup-level adjustments.
üst
46f681cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
libcodecs.tex
Doc/lib/libcodecs.tex
+6
-6
No files found.
Doc/lib/libcodecs.tex
Dosyayı görüntüle @
d24c767d
...
...
@@ -899,11 +899,11 @@ listed as operand type in the table.
This module implements
\rfc
{
3490
}
(Internationalized Domain Names in
Applications) and
\rfc
{
3492
}
(Nameprep: A Stringprep Profile for
Internationalized Domain Names (IDN)). It builds upon the
\code
{
punycode
}
encoding and
\module
{
stringprep
}
.
\code
{
punycode
}
encoding and
\
ref
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
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
is then used in all places where arbitrary characters are not allowed
...
...
@@ -915,13 +915,13 @@ to Unicode before presenting them to the user.
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
\
ref
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).
\
refmodule
{
httplib
}
and
\ref
module
{
ftplib
}
, accept Unicode host names
(
\
ref
module
{
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
lookup), no automatic conversion to Unicode is performed: Applications
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment