NAME

RDFStore::Util::UTF8 - Utility library to manage UTF8 strings

SYNOPSIS

use RDFStore::Util::UTF8;

DESCRIPTION

Simple UTF8 library to manage strings in Unicode; a basic set of functions allow to convert Unicode Code Points to UTF8 and viceversa - convert any given string (in any encoding in principle) to UTF8

METHODS

cp_to_utf8 ( CP )

Return the UTF8 byte sequence (string) representing the given Unicode Code Point CP (unsigned long)

utf8_to_cp ( UTF8_BUFF )

Return the Unicode Code Point (unsigned long) of the given UTF8_BUFF (char/string) passed

is_utf8 ( UTF8_BUFF )

Return true if the given UTF8_BUFF is a valid UTF8 byte sequence

to_utf8 ( STRING )

Convert a given STRING (in any encoding in principle) to its UTF8 byte sequence (string) representation

to_utf8_foldedcase ( STRING )

Convert a given STRING to its UTF8 case-folded (lang independent lowercase) byte sequence (string) representation

utf8lc ( STRING )

lc() for UTF8 chars i.e. using to_utf8_foldedcase() above

SEE ALSO

perlunicode(1)

http://www.unicode.org

http://www.unicode.org/unicode/reports/tr21/#Caseless%20Matching (Unicode Case-folding)

AUTHOR

Alberto Reggiori <areggiori@webweaving.org>

1 POD Error

The following errors were encountered while parsing the POD:

Around line 82:

You forgot a '=back' before '=head1'