Transliterate

Class to transliterate strings

since

1.0

note

Port of phputf8's utf8_accents_to_ascii()

package

Joomla Framework

Methods

utf8_latin_to_ascii

Returns strings transliterated from UTF-8 to Latin

utf8_latin_to_ascii(string string, int case) : string
since

1.0

Arguments

string

stringString to transliterate

case

intOptionally specify upper or lower case. Default to 0 (both).

Response

stringTransliterated string

Properties

utf8LowerAccents

Map of lowercased UTF-8 characters with their latin equivalents

static
since

1.4.0

Type(s)

array

utf8UpperAccents

Map of uppercased UTF-8 characters with their latin equivalents

static
since

1.4.0

Type(s)

array