Lines Matching full:unicode

8 Unicode implementation based on original code by Fredrik Lundh,
10 Unicode Integration Proposal. (See
11 http://www.egenix.com/files/python/unicode-proposal.txt).
19 * Yet another Unicode string type for Python. This type supports the
31 * This Unicode String Type is
62 /* --- Internal Unicode Format -------------------------------------------- */
64 /* Python 3.x requires unicode */
74 Otherwise, Unicode strings are stored as UCS-2 (with limited support
101 unicode representations. */
120 /* This Unicode character will be used as replacement character during
122 Unicode character U+FFFD is the official REPLACEMENT CHARACTER in
123 Unicode 3.0. */
155 PyObject *unicode,
163 PyAPI_FUNC(Py_UCS4*) PyUnicode_AsUCS4Copy(PyObject *unicode);
167 /* Get the length of the Unicode object. */
170 PyObject *unicode
178 PyObject *unicode /* Unicode object */
185 PyObject *unicode,
195 PyObject *unicode,
201 /* Resize a Unicode object. The length is the number of characters, except
205 *unicode is modified to point to the new (resized) object and 0
212 is returned and *unicode left untouched.
218 PyObject **unicode, /* Pointer to the Unicode object */
222 /* Decode obj to a Unicode object.
228 All other objects (including Unicode objects) raise an exception.
241 /* Copy an instance of a Unicode subtype to a new true Unicode object if
242 necessary. If obj is already a true Unicode object (not a subtype), return
276 /* Create a Unicode Object from the wchar_t buffer w of the given
286 /* Copies the Unicode Object contents into the wchar_t buffer w. At
299 PyObject *unicode, /* Unicode object */
304 /* Convert the Unicode object to a wide character string. The output string
313 PyObject *unicode, /* Unicode object */
319 /* --- Unicode ordinals --------------------------------------------------- */
321 /* Create a Unicode Object from the given Unicode code point ordinal.
355 /* Create a Unicode object by decoding the encoded string s of the
365 /* Decode a Unicode object unicode and return the result as Python
373 PyObject *unicode, /* Unicode object */
378 /* Decode a Unicode object unicode and return the result as Unicode
386 PyObject *unicode, /* Unicode object */
391 /* Encodes a Unicode object and returns the result as Python
400 PyObject *unicode, /* Unicode object */
405 /* Encodes a Unicode object and returns the result as Python string
409 PyObject *unicode, /* Unicode object */
414 /* Encodes a Unicode object and returns the result as Unicode
422 PyObject *unicode, /* Unicode object */
464 PyObject *unicode /* Unicode object */
468 Unicode object unicode and the size of the encoded representation
480 PyObject *unicode,
487 the corresponding Unicode object.
532 PyObject *unicode /* Unicode object */
536 the Unicode data.
546 Unicode BOM mark (U+FEFF). In the other two modes, no BOM mark is
554 the corresponding Unicode object.
599 PyObject *unicode /* Unicode object */
602 /* --- Unicode-Escape Codecs ---------------------------------------------- */
605 const char *string, /* Unicode-Escape encoded string */
611 PyObject *unicode /* Unicode object */
614 /* --- Raw-Unicode-Escape Codecs ------------------------------------------ */
617 const char *string, /* Raw-Unicode-Escape encoded string */
623 PyObject *unicode /* Unicode object */
628 Note: Latin-1 corresponds to the first 256 Unicode ordinals. */
637 PyObject *unicode /* Unicode object */
653 PyObject *unicode /* Unicode object */
661 255) to Unicode strings, integers (which are then interpreted as Unicode
666 Encoding mappings must map Unicode ordinal integers to bytes objects,
681 PyObject *unicode, /* Unicode object */
712 PyObject *unicode /* Unicode object */
718 PyObject *unicode, /* Unicode object */
748 /* Encode a Unicode object to the current locale encoding. The encoder is
754 PyObject *unicode,
766 /* ParseTuple converter: decode bytes objects to unicode using
796 /* Encode a Unicode object to Py_FileSystemDefaultEncoding with the
804 PyObject *unicode
809 These are capable of handling Unicode objects and strings on input
811 Unicode objects or integers as appropriate. */
813 /* Concat two strings giving a new Unicode string. */
836 /* Split a string giving a list of Unicode strings.
878 /* Split a string giving a list of Unicode strings.
898 return the resulting Unicode object.
900 The mapping table must map Unicode ordinal integers to Unicode strings,
901 Unicode ordinal integers or None (causing deletion of the character).
916 the resulting Unicode string. */
967 and return the resulting Unicode object. */
986 /* Compare a Unicode object with C string and return -1, 0, 1 for less than,
1016 the resulting Unicode string. */
1026 element has to coerce to a one element Unicode string. -1 is