A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/ucsdet_8h_source.html below:

ICU 77.1: i18n/unicode/ucsdet.h Source File

26 #if !UCONFIG_NO_CONVERSION 30 #if U_SHOW_CPLUSPLUS_API 96 #if U_SHOW_CPLUSPLUS_API 235 U_CAPI const char

* U_EXPORT2

293 U_CAPI const char

* U_EXPORT2

385 #ifndef U_HIDE_INTERNAL_API

"Smart pointer" class, closes a UCharsetDetector via ucsdet_close().

C++ API: "Smart pointers" for use with and in ICU4C C++ code.

#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)

"Smart pointer" definition macro, deletes objects via the closeFunction.

U_CAPI UBool ucsdet_enableInputFilter(UCharsetDetector *ucsd, UBool filter)

Enable filtering of input text.

U_CAPI int32_t ucsdet_getConfidence(const UCharsetMatch *ucsm, UErrorCode *status)

Get a confidence number for the quality of the match of the byte data with the charset.

struct UCharsetMatch UCharsetMatch

Opaque structure representing a match that was identified from a charset detection operation.

U_CAPI const UCharsetMatch ** ucsdet_detectAll(UCharsetDetector *ucsd, int32_t *matchesFound, UErrorCode *status)

Find all charset matches that appear to be consistent with the input, returning an array of results.

U_CAPI void ucsdet_close(UCharsetDetector *ucsd)

Close a charset detector.

U_CAPI UEnumeration * ucsdet_getDetectableCharsets(const UCharsetDetector *ucsd, UErrorCode *status)

Get an iterator over the set of detectable charsets - over the charsets that are enabled by the speci...

U_CAPI UBool ucsdet_isInputFilterEnabled(const UCharsetDetector *ucsd)

Test whether input filtering is enabled for this charset detector.

U_CAPI int32_t ucsdet_getUChars(const UCharsetMatch *ucsm, UChar *buf, int32_t cap, UErrorCode *status)

Get the entire input text as a UChar string, placing it into a caller-supplied buffer.

struct UCharsetDetector UCharsetDetector

Structure representing a charset detector.

U_CAPI void ucsdet_setDetectableCharset(UCharsetDetector *ucsd, const char *encoding, UBool enabled, UErrorCode *status)

Enable or disable individual charset encoding.

U_CAPI void ucsdet_setDeclaredEncoding(UCharsetDetector *ucsd, const char *encoding, int32_t length, UErrorCode *status)

Set the declared encoding for charset detection.

U_CAPI const char * ucsdet_getName(const UCharsetMatch *ucsm, UErrorCode *status)

Get the name of the charset represented by a UCharsetMatch.

U_CAPI UEnumeration * ucsdet_getAllDetectableCharsets(const UCharsetDetector *ucsd, UErrorCode *status)

Get an iterator over the set of all detectable charsets - over the charsets that are known to the cha...

U_CAPI const char * ucsdet_getLanguage(const UCharsetMatch *ucsm, UErrorCode *status)

Get the RFC 3066 code for the language of the input data.

U_CAPI const UCharsetMatch * ucsdet_detect(UCharsetDetector *ucsd, UErrorCode *status)

Return the charset that best matches the supplied input data.

U_CAPI void ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status)

Set the input byte data whose charset is to detected.

U_CAPI UCharsetDetector * ucsdet_open(UErrorCode *status)

Open a charset detector.

C API: String Enumeration.

struct UEnumeration UEnumeration

structure representing an enumeration object instance

int8_t UBool

The ICU boolean type, a signed-byte integer.

#define U_CAPI

This is used to declare a function as a public ICU C API.

char16_t UChar

The base type for UTF-16 code units and pointers.

Basic definitions for ICU, for both C and C++ APIs.

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4