|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python 3.14\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2025-10-09 14:15+0000\n" |
| 11 | +"POT-Creation-Date: 2025-10-19 14:13+0000\n" |
12 | 12 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" |
13 | 13 | "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" |
14 | 14 | "MIME-Version: 1.0\n" |
@@ -1023,27 +1023,34 @@ msgid "" |
1023 | 1023 | "Unicode code point, is to store each code point as four consecutive bytes. " |
1024 | 1024 | "There are two possibilities: store the bytes in big endian or in little " |
1025 | 1025 | "endian order. These two encodings are called ``UTF-32-BE`` and ``UTF-32-LE`` " |
1026 | | -"respectively. Their disadvantage is that if e.g. you use ``UTF-32-BE`` on a " |
1027 | | -"little endian machine you will always have to swap bytes on encoding and " |
1028 | | -"decoding. ``UTF-32`` avoids this problem: bytes will always be in natural " |
1029 | | -"endianness. When these bytes are read by a CPU with a different endianness, " |
1030 | | -"then bytes have to be swapped though. To be able to detect the endianness of " |
1031 | | -"a ``UTF-16`` or ``UTF-32`` byte sequence, there's the so called BOM (\"Byte " |
1032 | | -"Order Mark\"). This is the Unicode character ``U+FEFF``. This character can " |
1033 | | -"be prepended to every ``UTF-16`` or ``UTF-32`` byte sequence. The byte " |
1034 | | -"swapped version of this character (``0xFFFE``) is an illegal character that " |
1035 | | -"may not appear in a Unicode text. So when the first character in a " |
1036 | | -"``UTF-16`` or ``UTF-32`` byte sequence appears to be a ``U+FFFE`` the bytes " |
1037 | | -"have to be swapped on decoding. Unfortunately the character ``U+FEFF`` had a " |
1038 | | -"second purpose as a ``ZERO WIDTH NO-BREAK SPACE``: a character that has no " |
1039 | | -"width and doesn't allow a word to be split. It can e.g. be used to give " |
1040 | | -"hints to a ligature algorithm. With Unicode 4.0 using ``U+FEFF`` as a ``ZERO " |
1041 | | -"WIDTH NO-BREAK SPACE`` has been deprecated (with ``U+2060`` (``WORD " |
1042 | | -"JOINER``) assuming this role). Nevertheless Unicode software still must be " |
1043 | | -"able to handle ``U+FEFF`` in both roles: as a BOM it's a device to determine " |
1044 | | -"the storage layout of the encoded bytes, and vanishes once the byte sequence " |
1045 | | -"has been decoded into a string; as a ``ZERO WIDTH NO-BREAK SPACE`` it's a " |
1046 | | -"normal character that will be decoded like any other." |
| 1026 | +"respectively. Their disadvantage is that if, for example, you use ``UTF-32-" |
| 1027 | +"BE`` on a little endian machine you will always have to swap bytes on " |
| 1028 | +"encoding and decoding. Python's ``UTF-16`` and ``UTF-32`` codecs avoid this " |
| 1029 | +"problem by using the platform's native byte order when no BOM is present. " |
| 1030 | +"Python follows prevailing platform practice, so native-endian data round-" |
| 1031 | +"trips without redundant byte swapping, even though the Unicode Standard " |
| 1032 | +"defaults to big-endian when the byte order is unspecified. When these bytes " |
| 1033 | +"are read by a CPU with a different endianness, the bytes have to be swapped. " |
| 1034 | +"To be able to detect the endianness of a ``UTF-16`` or ``UTF-32`` byte " |
| 1035 | +"sequence, a BOM (\"Byte Order Mark\") is used. This is the Unicode character " |
| 1036 | +"``U+FEFF``. This character can be prepended to every ``UTF-16`` or " |
| 1037 | +"``UTF-32`` byte sequence. The byte swapped version of this character " |
| 1038 | +"(``0xFFFE``) is an illegal character that may not appear in a Unicode text. " |
| 1039 | +"When the first character of a ``UTF-16`` or ``UTF-32`` byte sequence is " |
| 1040 | +"``U+FFFE``, the bytes have to be swapped on decoding." |
| 1041 | +msgstr "" |
| 1042 | + |
| 1043 | +msgid "" |
| 1044 | +"Unfortunately the character ``U+FEFF`` had a second purpose as a ``ZERO " |
| 1045 | +"WIDTH NO-BREAK SPACE``: a character that has no width and doesn't allow a " |
| 1046 | +"word to be split. It can e.g. be used to give hints to a ligature algorithm. " |
| 1047 | +"With Unicode 4.0 using ``U+FEFF`` as a ``ZERO WIDTH NO-BREAK SPACE`` has " |
| 1048 | +"been deprecated (with ``U+2060`` (``WORD JOINER``) assuming this role). " |
| 1049 | +"Nevertheless Unicode software still must be able to handle ``U+FEFF`` in " |
| 1050 | +"both roles: as a BOM it's a device to determine the storage layout of the " |
| 1051 | +"encoded bytes, and vanishes once the byte sequence has been decoded into a " |
| 1052 | +"string; as a ``ZERO WIDTH NO-BREAK SPACE`` it's a normal character that will " |
| 1053 | +"be decoded like any other." |
1047 | 1054 | msgstr "" |
1048 | 1055 |
|
1049 | 1056 | msgid "" |
|
0 commit comments