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
7a03f64c
Kaydet (Commit)
7a03f64c
authored
Eki 25, 2011
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove mention of narrow/wide builds in the codecs doc.
üst
90bf5f11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
codecs.rst
Doc/library/codecs.rst
+3
-5
No files found.
Doc/library/codecs.rst
Dosyayı görüntüle @
7a03f64c
...
@@ -787,11 +787,9 @@ methods and attributes from the underlying stream.
...
@@ -787,11 +787,9 @@ methods and attributes from the underlying stream.
Encodings and Unicode
Encodings and Unicode
---------------------
---------------------
Strings are stored internally as sequences of codepoints (to be precise
Strings are stored internally as sequences of codepoints in range ``0 - 10FFFF``
as :c:type:`Py_UNICODE` arrays). Depending on the way Python is compiled (either
(see :pep:`393` for more details about the implementation).
via ``--without-wide-unicode`` or ``--with-wide-unicode``, with the
Once a string object is used outside of CPU and memory, CPU endianness
former being the default) :c:type:`Py_UNICODE` is either a 16-bit or 32-bit data
type. Once a string object is used outside of CPU and memory, CPU endianness
and how these arrays are stored as bytes become an issue. Transforming a
and how these arrays are stored as bytes become an issue. Transforming a
string object into a sequence of bytes is called encoding and recreating the
string object into a sequence of bytes is called encoding and recreating the
string object from the sequence of bytes is known as decoding. There are many
string object from the sequence of bytes is known as decoding. There are many
...
...
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