Thai

Thai codepoint tables for character substitution and reordering.

Namespace: Com\Tecnick\Unicode\Data

final class Thai

Source: src/Data/Thai.php:36

Thai codepoint tables for character substitution and reordering.

Constants

BASE_CONSONANT_FIRST

Thai base consonant range: U+0E01-U+0E2E (THAI CHARACTER KO KAI through THAI CHARACTER HO NOKHUK)

public const BASE_CONSONANT_FIRST = 0xe01

Source: src/Data/Thai.php:82

BASE_CONSONANT_LAST

Thai base consonant range upper bound: U+0E2E

public const BASE_CONSONANT_LAST = 0xe2e

Source: src/Data/Thai.php:87

LEADING_VOWELS

Thai preposed vowels: they are stored before the consonant they follow in pronunciation and are displayed in that same position, so they need no reordering in a left-to-right glyph stream.

Codepoints: U+0E40 THAI CHARACTER SARA E U+0E41 THAI CHARACTER SARA AE U+0E42 THAI CHARACTER SARA O U+0E43 THAI CHARACTER SARA AI MAIMUAN U+0E44 THAI CHARACTER SARA AI MAIMALAI

public const LEADING_VOWELS = [0xe40 => true, 0xe41 => true, 0xe42 => true, 0xe43 => true, 0xe44 => true]

Source: src/Data/Thai.php:52

TONE_MARKS

Thai tone marks: combining marks that are not base consonants.

Codepoints: U+0E48 THAI CHARACTER MAI EK U+0E49 THAI CHARACTER MAI THO U+0E4A THAI CHARACTER MAI TRI U+0E4B THAI CHARACTER MAI JATTAWA

public const TONE_MARKS = [0xe48 => true, 0xe49 => true, 0xe4a => true, 0xe4b => true]

Source: src/Data/Thai.php:71