NAME
src/string/charset/iso-8859-1.c
DESCRIPTION
This file implements the charset functions for iso-8859-1 data
static void set_graphemes
Sets static STRING *to_iso_8859_1
Converts STRING static STRING *to_unicode
Converts STRING static STRING *to_charset
Converts the STRING static STRING *compose
ISO-8859-1 does not support composing,
so we just copy the STRING static STRING *decompose
SO-8859-1 does not support decomposing,
so we throw an exception.
static void upcase
Convert all graphemes in the STRING static void downcase
Converts all graphemes in STRING static void titlecase
Converts the graphemes in STRING static void upcase_first
Converts the first grapheme in STRING static void downcase_first
Converts the first character of the STRING static void titlecase_first
Converts the first grapheme in STRING static UINTVAL validate
Returns 1 if the STRING static INTVAL is_cclass
RT#48260: Not yet documented!!!
static INTVAL find_cclass
RT#48260: Not yet documented!!!
static INTVAL find_not_cclass
RT#48260: Not yet documented!!!
static STRING *string_from_codepoint
Creates a new STRING from the single codepoint const CHARSET *Parrot_charset_iso_8859_1_init
Initializes the ISO-8859-1 charset by installing all the necessary function pointers.
STRING *charset_cvt_iso_8859_1_to_ascii
Converts STRING
replace_count
graphemes in STRING source_string
starting at offset offset
.
Gets the replacement graphemes from STRING insert_string
.
src
to iso-8859-1 in STRING dest
.
src
to unicode STRING dest
.
src
to an ISO-8859-1 STRING dest
.
src
and return the copy.
source_string
to upper case,
for those graphemes that support cases.
source_string
to lower-case,
for those graphemes that support cases.
source_string
to title case,
for those graphemes that support cases.
source_string
to upper case,
if it supports cases.
source_string
to lower case,
if the grapheme supports lower case.
source_string
to title case,
if the grapheme supports case.
src
is a valid ISO-8859-1 STRING.
Returns 0 otherwise.
codepoint
.
src
in ISO-8859-1 to ASCII STRING dest
.