parrotcode: Untitled | |
Contents | C |
src/charset/iso-8859-1.c
This file implements the charset functions for iso-8859-1 data
static void set_graphemes
replace_count
graphemes in STRING source_string
starting at offset offset
.
Gets the replacement graphemes from STRING insert_string
.static STRING *to_latin1
src
to Latin1 in STRING dest
.static STRING *to_unicode
src
to unicode STRING dest
.static STRING *to_charset
src
to an ISO-8859-1 STRING dest
.static STRING *compose
src
and return the copy.static STRING *decompose
static void upcase
source_string
to upper case,
for those graphemes that support cases.static void downcase
source_string
to lower-case,
for those graphemes that support cases.static void titlecase
source_string
to title case,
for those graphemes that support cases.static void upcase_first
source_string
to upper case,
if it supports cases.static void downcase_first
source_string
to lower case,
if the grapheme supports lower case.static void titlecase_first
source_string
to title case,
if the grapheme supports case.static UINTVAL validate
src
is a valid ISO-8859-1 STRING.
Returns 0 otherwise.static INTVAL is_cclass
static INTVAL find_cclass
static INTVAL find_not_cclass
static STRING *string_from_codepoint
codepoint
.const CHARSET *Parrot_charset_iso_8859_1_init
STRING *charset_cvt_iso_8859_1_to_ascii
src
in ISO-8859-1 to ASCII STRING dest
.
|