[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python/python-docs-de/3.14/c-api/unicode.po [Back]  [Original]

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR , YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-10-19 03:08+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../../c-api/unicode.rst:6
msgid "Unicode Objects and Codecs"
msgstr "Unicode Objekte und Codecs"

#: ../../c-api/unicode.rst:12
msgid "Unicode Objects"
msgstr "Unicode Objekte"

#: ../../c-api/unicode.rst:14
msgid ""
"Since the implementation of :pep:`393` in Python 3.3, Unicode objects "
"internally use a variety of representations, in order to allow handling the "
"complete range of Unicode characters while staying memory efficient.  There "
"are special cases for strings where all code points are below 128, 256, or "
"65536; otherwise, code points must be below 1114112 (which is the full "
"Unicode range)."
msgstr ""
"Seit der Umsetzung von :pep:`393` in Python 3.3 verwenden Unicode Objekte "
"intern eine Vielzahl von Reprsentationen, um die gesamte Bandbreite der "
"Unicode Zeichen verarbeiten zu knnen und dabei speichereffizient zu "
"bleiben. Es gibt Spezialflle fr Zeichenketten, deren Codepunkte alle unter "
"128, 256 oder 65536 liegen; andernfalls mssen Codepunkte unterhalb von "
"1114112 sein (gesamter Unicode Bereich)."

#: ../../c-api/unicode.rst:20
msgid ""
"UTF-8 representation is created on demand and cached in the Unicode object."
msgstr ""

#: ../../c-api/unicode.rst:24
msgid ""
"The internal buffer always includes an extra trailing null character for "
"compatibility with null terminated C strings. This extra character is not "
"counted in :c:func:`PyUnicode_GetLength` nor in the various *size* arguments "
"of the functions below."
msgstr ""

#: ../../c-api/unicode.rst:30
msgid ""
"The :c:type:`Py_UNICODE` representation has been removed since Python 3.12 "
"with deprecated APIs. See :pep:`623` for more information."
msgstr ""

#: ../../c-api/unicode.rst:36
msgid "Unicode Type"
msgstr ""

#: ../../c-api/unicode.rst:38
msgid ""
"These are the basic Unicode object types used for the Unicode implementation "
"in Python:"
msgstr ""

#: ../../c-api/unicode.rst:43
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python Unicode type. "
"It is exposed to Python code as :py:class:`str`."
msgstr ""

#: ../../c-api/unicode.rst:49
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python Unicode "
"iterator type. It is used to iterate over Unicode string objects."
msgstr ""

#: ../../c-api/unicode.rst:57
msgid ""
"These types are typedefs for unsigned integer types wide enough to contain "
"characters of 32 bits, 16 bits and 8 bits, respectively.  When dealing with "
"single Unicode characters, use :c:type:`Py_UCS4`."
msgstr ""

#: ../../c-api/unicode.rst:68
msgid ""
"These subtypes of :c:type:`PyObject` represent a Python Unicode object.  In "
"almost all cases, they shouldn't be used directly, since all API functions "
"that deal with Unicode objects take and return :c:type:`PyObject` pointers."
msgstr ""

#: ../../c-api/unicode.rst:75
msgid ""
"The structure of a particular object can be determined using the following "
"macros. The macros cannot fail; their behavior is undefined if their "
"argument is not a Python Unicode object."
msgstr ""

#: ../../c-api/unicode.rst:84
msgid "True if *o* uses the :c:struct:`PyCompactUnicodeObject` structure."
msgstr ""

#: ../../c-api/unicode.rst:91
msgid "True if *o* uses the :c:struct:`PyASCIIObject` structure."
msgstr ""

#: ../../c-api/unicode.rst:96
msgid ""
"The following APIs are C macros and static inlined functions for fast checks "
"and access to internal read-only data of Unicode objects:"
msgstr ""

#: ../../c-api/unicode.rst:101
msgid ""
"Return true if the object *obj* is a Unicode object or an instance of a "
"Unicode subtype.  This function always succeeds."
msgstr ""

#: ../../c-api/unicode.rst:107
msgid ""
"Return true if the object *obj* is a Unicode object, but not an instance of "
"a subtype.  This function always succeeds."
msgstr ""

#: ../../c-api/unicode.rst:113
msgid ""
"Return the length of the Unicode string, in code points.  *unicode* has to "
"be a Unicode object in the \"canonical\" representation (not checked)."
msgstr ""

#: ../../c-api/unicode.rst:123
msgid ""
"Return a pointer to the canonical representation cast to UCS1, UCS2 or UCS4 "
"integer types for direct character access.  No checks are performed if the "
"canonical representation has the correct character size; use :c:func:"
"`PyUnicode_KIND` to select the right function."
msgstr ""

#: ../../c-api/unicode.rst:135
msgid "Return values of the :c:func:`PyUnicode_KIND` macro."
msgstr ""

#: ../../c-api/unicode.rst:139
msgid "``PyUnicode_WCHAR_KIND`` has been removed."
msgstr ""

#: ../../c-api/unicode.rst:145
msgid ""
"Return one of the PyUnicode kind constants (see above) that indicate how "
"many bytes per character this Unicode object uses to store its data.  "
"*unicode* has to be a Unicode object in the \"canonical\" representation "
"(not checked)."
msgstr ""

#: ../../c-api/unicode.rst:154
msgid ""
"Return a void pointer to the raw Unicode buffer.  *unicode* has to be a "
"Unicode object in the \"canonical\" representation (not checked)."
msgstr ""

#: ../../c-api/unicode.rst:163
msgid ""
"Write the code point *value* to the given zero-based *index* in a string."
msgstr ""

#: ../../c-api/unicode.rst:165
msgid ""
"The *kind* value and *data* pointer must have been obtained from a string "
"using :c:func:`PyUnicode_KIND` and :c:func:`PyUnicode_DATA` respectively. "
"You must hold a reference to that string while calling :c:func:`!"
"PyUnicode_WRITE`. All requirements of :c:func:`PyUnicode_WriteChar` also "
"apply."
msgstr ""

#: ../../c-api/unicode.rst:171
msgid ""
"The function performs no checks for any of its requirements, and is intended "
"for usage in loops."
msgstr ""

#: ../../c-api/unicode.rst:179
msgid ""
"Read a code point from a canonical representation *data* (as obtained with :"
"c:func:`PyUnicode_DATA`).  No checks are performed."
msgstr ""

#: ../../c-api/unicode.rst:184 ../../c-api/unicode.rst:198
msgid ""
"Accept reading the trailing null character at index :c:func:"
"`PyUnicode_GetLength`."
msgstr ""

#: ../../c-api/unicode.rst:192
msgid ""
"Read a character from a Unicode object *unicode*, which must be in the "
"\"canonical\" representation.  This is less efficient than :c:func:"
"`PyUnicode_READ` if you do multiple consecutive reads."
msgstr ""

#: ../../c-api/unicode.rst:206
msgid ""
"Return the maximum code point that is suitable for creating another string "
"based on *unicode*, which must be in the \"canonical\" representation.  This "
"is always an approximation but more efficient than iterating over the string."
msgstr ""

#: ../../c-api/unicode.rst:215
msgid ""
"Return ``1`` if the string is a valid identifier according to the language "
"definition, section :ref:`identifiers`. Return ``0`` otherwise."
msgstr ""

#: ../../c-api/unicode.rst:218
msgid ""
"The function does not call :c:func:`Py_FatalError` anymore if the string is "
"not ready."
msgstr ""

#: ../../c-api/unicode.rst:225
msgid ""
"Return true if the string only contains ASCII characters. Equivalent to :py:"
"meth:`str.isascii`."
msgstr ""

#: ../../c-api/unicode.rst:232
msgid "Unicode Character Properties"
msgstr ""

#: ../../c-api/unicode.rst:234
msgid ""
"Unicode provides many different character properties. The most often needed "
"ones are available through these macros which are mapped to C functions "
"depending on the Python configuration."
msgstr ""

#: ../../c-api/unicode.rst:241
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is a whitespace character."
msgstr ""

#: ../../c-api/unicode.rst:246
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is a lowercase character."
msgstr ""

#: ../../c-api/unicode.rst:251
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is an uppercase character."
msgstr ""

#: ../../c-api/unicode.rst:256
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is a titlecase character."
msgstr ""

#: ../../c-api/unicode.rst:261
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is a linebreak character."
msgstr ""

#: ../../c-api/unicode.rst:266
msgid "Return ``1`` or ``0`` depending on whether *ch* is a decimal character."
msgstr ""

#: ../../c-api/unicode.rst:271
msgid "Return ``1`` or ``0`` depending on whether *ch* is a digit character."
msgstr ""

#: ../../c-api/unicode.rst:276
msgid "Return ``1`` or ``0`` depending on whether *ch* is a numeric character."
msgstr ""

#: ../../c-api/unicode.rst:281
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is an alphabetic character."
msgstr ""

#: ../../c-api/unicode.rst:286
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is an alphanumeric character."
msgstr ""

#: ../../c-api/unicode.rst:291
msgid ""
"Return ``1`` or ``0`` depending on whether *ch* is a printable character, in "
"the sense of :meth:`str.isprintable`."
msgstr ""

#: ../../c-api/unicode.rst:295
msgid "These APIs can be used for fast direct character conversions:"
msgstr ""

#: ../../c-api/unicode.rst:300
msgid "Return the character *ch* converted to lower case."
msgstr ""

#: ../../c-api/unicode.rst:305
msgid "Return the character *ch* converted to upper case."
msgstr ""

#: ../../c-api/unicode.rst:310
msgid "Return the character *ch* converted to title case."
msgstr ""

#: ../../c-api/unicode.rst:315
msgid ""
"Return the character *ch* converted to a decimal positive integer.  Return "
"``-1`` if this is not possible.  This function does not raise exceptions."
msgstr ""

#: ../../c-api/unicode.rst:321
msgid ""
"Return the character *ch* converted to a single digit integer. Return ``-1`` "
"if this is not possible.  This function does not raise exceptions."
msgstr ""

#: ../../c-api/unicode.rst:327
msgid ""
"Return the character *ch* converted to a double. Return ``-1.0`` if this is "
"not possible.  This function does not raise exceptions."
msgstr ""

#: ../../c-api/unicode.rst:331
msgid "These APIs can be used to work with surrogates:"
msgstr ""

#: ../../c-api/unicode.rst:335
msgid "Check if *ch* is a surrogate (``0xD800 

Web Proxy Viewer  |  New URL  |  Original Page