Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/libxml2/usr/share/gtk-doc/html/libxml2/ drwxr-xr-x |
Viewing file: Select action/file-type:
encodingencoding - interface for the encoding conversion functions interface for the encoding conversion functions needed for XML basic encoding and iconv() support. Related specs are rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies [ISO-10646] UTF-8 and UTF-16 in Annexes [ISO-8859-1] ISO Latin-1 characters codes. [UNICODE] The Unicode Consortium, "The Unicode Standard -- Worldwide Character Encoding -- Version 1.0", Addison- Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is described in Unicode Technical Report #4. [US-ASCII] Coded Character Set--7-bit American Standard Code for Information Interchange, ANSI X3.4-1986. Author(s): Daniel Veillard Synopsistypedef enum xmlCharEncoding; typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler; typedef xmlCharEncodingHandler * xmlCharEncodingHandlerPtr; int UTF8Toisolat1 (unsigned char * out, DescriptionDetailsEnum xmlCharEncodingenum xmlCharEncoding { XML_CHAR_ENCODING_ERROR = -1 /* No char encoding detected */ XML_CHAR_ENCODING_NONE = 0 /* No char encoding detected */ XML_CHAR_ENCODING_UTF8 = 1 /* UTF-8 */ XML_CHAR_ENCODING_UTF16LE = 2 /* UTF-16 little endian */ XML_CHAR_ENCODING_UTF16BE = 3 /* UTF-16 big endian */ XML_CHAR_ENCODING_UCS4LE = 4 /* UCS-4 little endian */ XML_CHAR_ENCODING_UCS4BE = 5 /* UCS-4 big endian */ XML_CHAR_ENCODING_EBCDIC = 6 /* EBCDIC uh! */ XML_CHAR_ENCODING_UCS4_2143 = 7 /* UCS-4 unusual ordering */ XML_CHAR_ENCODING_UCS4_3412 = 8 /* UCS-4 unusual ordering */ XML_CHAR_ENCODING_UCS2 = 9 /* UCS-2 */ XML_CHAR_ENCODING_8859_1 = 10 /* ISO-8859-1 ISO Latin 1 */ XML_CHAR_ENCODING_8859_2 = 11 /* ISO-8859-2 ISO Latin 2 */ XML_CHAR_ENCODING_8859_3 = 12 /* ISO-8859-3 */ XML_CHAR_ENCODING_8859_4 = 13 /* ISO-8859-4 */ XML_CHAR_ENCODING_8859_5 = 14 /* ISO-8859-5 */ XML_CHAR_ENCODING_8859_6 = 15 /* ISO-8859-6 */ XML_CHAR_ENCODING_8859_7 = 16 /* ISO-8859-7 */ XML_CHAR_ENCODING_8859_8 = 17 /* ISO-8859-8 */ XML_CHAR_ENCODING_8859_9 = 18 /* ISO-8859-9 */ XML_CHAR_ENCODING_2022_JP = 19 /* ISO-2022-JP */ XML_CHAR_ENCODING_SHIFT_JIS = 20 /* Shift_JIS */ XML_CHAR_ENCODING_EUC_JP = 21 /* EUC-JP */ XML_CHAR_ENCODING_ASCII = 22 /* pure ASCII */ }; Structure xmlCharEncodingHandlerstruct _xmlCharEncodingHandler { char * name xmlCharEncodingInputFunc input xmlCharEncodingOutputFunc output iconv_t iconv_in iconv_t iconv_out struct _uconv_t * uconv_in struct _uconv_t * uconv_out } xmlCharEncodingHandler; Typedef xmlCharEncodingHandlerPtrxmlCharEncodingHandler * xmlCharEncodingHandlerPtr; Function type xmlCharEncodingInputFuncint xmlCharEncodingInputFunc (unsigned char * out, Take a block of chars in the original encoding and try to convert it to an UTF-8 block of chars out.
Function type xmlCharEncodingOutputFuncint xmlCharEncodingOutputFunc (unsigned char * out, Take a block of UTF-8 chars in and try to convert it to another encoding. Note: a first call designed to produce heading info is called with in = NULL. If stateful this should also initialize the encoder state.
UTF8Toisolat1 ()int UTF8Toisolat1 (unsigned char * out, Take a block of UTF-8 chars in and try to convert it to an ISO Latin 1 block of chars out.
isolat1ToUTF8 ()int isolat1ToUTF8 (unsigned char * out, Take a block of ISO Latin 1 chars in and try to convert it to an UTF-8 block of chars out.
xmlAddEncodingAlias ()int xmlAddEncodingAlias (const char * name, Registers an alias @alias for an encoding named @name. Existing alias will be overwritten.
xmlCharEncCloseFunc ()int xmlCharEncCloseFunc (xmlCharEncodingHandler * handler) Generic front-end for encoding handler close function
xmlCharEncFirstLine ()int xmlCharEncFirstLine (xmlCharEncodingHandler * handler, Front-end for the encoding handler input function, but handle only the very first line, i.e. limit itself to 45 chars.
xmlCharEncInFunc ()int xmlCharEncInFunc (xmlCharEncodingHandler * handler, Generic front-end for the encoding handler input function
xmlCharEncOutFunc ()int xmlCharEncOutFunc (xmlCharEncodingHandler * handler, Generic front-end for the encoding handler output function a first call with @in == NULL has to be made firs to initiate the output in case of non-stateless encoding needing to initiate their state or the output (like the BOM in UTF16). In case of UTF8 sequence conversion errors for the given encoder, the content will be automatically remapped to a CharRef sequence.
xmlCleanupCharEncodingHandlers ()void xmlCleanupCharEncodingHandlers (void) DEPRECATED: This function will be made private. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all. Cleanup the memory allocated for the char encoding support, it unregisters all the encoding handlers and the aliases. xmlDelEncodingAlias ()int xmlDelEncodingAlias (const char * alias) Unregisters an encoding alias @alias
xmlDetectCharEncoding ()xmlCharEncoding xmlDetectCharEncoding (const unsigned char * in, Guess the encoding of the entity using the first bytes of the entity content according to the non-normative appendix F of the XML-1.0 recommendation.
xmlFindCharEncodingHandler ()xmlCharEncodingHandlerPtr xmlFindCharEncodingHandler (const char * name) Search in the registered set the handler able to read/write that encoding.
xmlGetCharEncodingHandler ()xmlCharEncodingHandlerPtr xmlGetCharEncodingHandler (xmlCharEncoding enc) Search in the registered set the handler able to read/write that encoding.
xmlGetCharEncodingName ()const char * xmlGetCharEncodingName (xmlCharEncoding enc) The "canonical" name for XML encoding. C.f. http://www.w3.org/TR/REC-xml#charencoding Section 4.3.3 Character Encoding in Entities
xmlGetEncodingAlias ()const char * xmlGetEncodingAlias (const char * alias) Lookup an encoding name for the given alias.
xmlInitCharEncodingHandlers ()void xmlInitCharEncodingHandlers (void) DEPRECATED: This function will be made private. Call xmlInitParser to initialize the library. Initialize the char encoding support, it registers the default encoding supported. NOTE: while public, this function usually doesn't need to be called in normal processing. xmlNewCharEncodingHandler ()xmlCharEncodingHandlerPtr xmlNewCharEncodingHandler (const char * name, Create and registers an xmlCharEncodingHandler.
xmlParseCharEncoding ()xmlCharEncoding xmlParseCharEncoding (const char * name) Compare the string to the encoding schemes already known. Note that the comparison is case insensitive accordingly to the section [XML] 4.3.3 Character Encoding in Entities.
xmlRegisterCharEncodingHandler ()void xmlRegisterCharEncodingHandler (xmlCharEncodingHandlerPtr handler) Register the char encoding handler, surprising, isn't it ?
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0037 ]-- |