libguess

A high-speed character set detection library

A high-speed character set detection library libguess has two functions: libguess_determine_encoding(const char *inbuf, int length, const char *region); This detects a character set. Returns an appropriate charset name that can be passed to iconv_open(). Region is the name of the language or region that the data is related to, e.g. 'Baltic' for the Baltic states, or 'Japanese' for Japan. libguess_validate_utf8(const char *inbuf, int length); This employs libguess's DFA-based character set validation rules to ensure that a string is pure UTF-8. GLib's UTF-8 validation functions are broken, for example. Just include libguess.h and link to libguess to get these functions in your program. For your convenience, a pkg-config file is also supplied. libguess employs discrete-finite automata to deduce the character set of the input buffer. The advantage of this is that all character sets can be checked in parallel, and quickly. Right now, libguess passes a byte to each DFA on the same pass, meaning that the winning character set can be deduced as efficiently as possible. libguess is fully reentrant, using only local stack memory for DFA operations.

Δεν υπάρχει επίσημο διαθέσιμο πακέτο για openSUSE Leap 16.0

Διανομές

openSUSE Tumbleweed

devel:libraries:c_c++ Πειραματικό
1.2

openSUSE Leap 16.0

devel:libraries:c_c++ Πειραματικό
1.2

openSUSE Leap 15.6

devel:libraries:c_c++ Πειραματικό
1.2
home:redwil:15.6 Κοινότητα
1.2

openSUSE Backports for SLE 15 SP7

devel:libraries:c_c++ Πειραματικό
1.2

openSUSE Backports for SLE 15 SP4

home:redwil:15.4 Κοινότητα
1.2

SUSE SLE-16 (in development)

SUSE SLE-15-SP1

SUSE SLE-11 SP 4

home:csa7fff:rusxmms Κοινότητα
0.2.0

RedHat RHEL-7

isv:perlur:epel Πειραματικό
1.2

Μη υποστηριζόμενες διανομές

Οι παρακάτω διανομές δεν υποστηρίζονται επίσημα. Χρησιμοποιήστε αυτά τα πακέτα με δικιά σας ευθύνη.