Papyrix includes a support library for detecting which Unicode "scripts" are present in some text, including routines to:
* Util to check for Chinese/Japanese/Korean character-ranges, with wrapper that iterates over some text.
* Iterate over text invoking another routine to check for Thai characters, or same for Arabic.
* Routine that returns other, Thai, Arabic, C/J/K, or Latin.
* Inlined routines checking if a codepoint's Thai or Arabic.
1/1! Tomorrow: Thai "shaping".