;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
;; Licensed to the Free Software Foundation.
+;; Copyright (C) 2001 Free Software Foundation, Inc.
;; Keywords: multilingual, Lao
(?\e(1|\e(B consonant "LETTER NHOR NHUU" "MOUSE")
(?\e(1}\e(B consonant "LETTER MHOR MHAR" "DOG")
(?\e(1~\e(B invalid nil)
- ))
+ ;; Unicode equivalents
+ (?\e$,1D!\e(B consonant "LETTER KOR KAI'" "CHICKEN")
+ (?\e$,1D"\e(B consonant "LETTER KHOR KHAI'" "EGG")
+ (?\e$,1D$\e(B consonant "LETTER QHOR QHWARGN" "BUFFALO")
+ (?\e$,1D'\e(B consonant "LETTER NGOR NGUU" "SNAKE")
+ (?\e$,1D(\e(B consonant "LETTER JOR JUA" "BUDDHIST NOVICE")
+ (?\e$,1D*\e(B consonant "LETTER XOR X\"ARNG" "ELEPHANT")
+ (?\e$,1D-\e(B consonant "LETTER YOR YUNG" "MOSQUITO")
+ (?\e$,1D4\e(B consonant "LETTER DOR DANG" "NOSE")
+ (?\e$,1D5\e(B consonant "LETTER TOR TAR" "EYE")
+ (?\e$,1D6\e(B consonant "LETTER THOR THUNG" "TO ASK,QUESTION")
+ (?\e$,1D7\e(B consonant "LETTER DHOR DHARM" "FLAG")
+ (?\e$,1D9\e(B consonant "LETTER NOR NOK" "BIRD")
+ (?\e$,1D:\e(B consonant "LETTER BOR BED" "FISHHOOK")
+ (?\e$,1D;\e(B consonant "LETTER POR PAR" "FISH")
+ (?\e$,1D<\e(B consonant "LETTER HPOR HPER\"" "BEE")
+ (?\e$,1D=\e(B consonant "LETTER FHOR FHAR" "WALL")
+ (?\e$,1D>\e(B consonant "LETTER PHOR PHUU" "MOUNTAIN")
+ (?\e$,1D?\e(B consonant "LETTER FOR FAI" "FIRE")
+ (?\e$,1DA\e(B consonant "LETTER MOR MAR\"" "HORSE")
+ (?\e$,1DB\e(B consonant "LETTER GNOR GNAR" "MEDICINE")
+ (?\e$,1DC\e(B consonant "LETTER ROR ROD" "CAR")
+ (?\e$,1DE\e(B consonant "LETTER LOR LIING" "MONKEY")
+ (?\e$,1DG\e(B consonant "LETTER WOR WII" "HAND FAN")
+ (?\e$,1DJ\e(B consonant "LETTER SOR SEA" "TIGER")
+ (?\e$,1DK\e(B consonant "LETTER HHOR HHAI" "JAR")
+ (?\e$,1DM\e(B consonant "LETTER OR OOW" "TAKE")
+ (?\e$,1DN\e(B consonant "LETTER HOR HEA" "BOAT")
+ (?\e$,1DO\e(B special "ELLIPSIS")
+ (?\e$,1DP\e(B vowel-base "VOWEL SIGN SARA A")
+ (?\e$,1DQ\e(B vowel-upper "VOWEL SIGN MAI KAN")
+ (?\e$,1DR\e(B vowel-base "VOWEL SIGN SARA AR")
+ (?\e$,1DS\e(B vowel-base "VOWEL SIGN SARA AM")
+ (?\e$,1DT\e(B vowel-upper "VOWEL SIGN SARA I")
+ (?\e$,1DU\e(B vowel-upper "VOWEL SIGN SARA II")
+ (?\e$,1DV\e(B vowel-upper "VOWEL SIGN SARA EU")
+ (?\e$,1DW\e(B vowel-upper "VOWEL SIGN SARA UR")
+ (?\e$,1DX\e(B vowel-lower "VOWEL SIGN SARA U")
+ (?\e$,1DY\e(B vowel-lower "VOWEL SIGN SARA UU")
+ (?\e$,1D[\e(B vowel-upper "VOWEL SIGN MAI KONG")
+ (?\e$,1D\\e(B semivowel-lower "SEMIVOWEL SIGN LO")
+ (?\e$,1D]\e(B vowel-base "SEMIVOWEL SIGN SARA IA")
+ (?\e$,1D`\e(B vowel-base "VOWEL SIGN SARA EE")
+ (?\e$,1Da\e(B vowel-base "VOWEL SIGN SARA AA")
+ (?\e$,1Db\e(B vowel-base "VOWEL SIGN SARA OO")
+ (?\e$,1Dc\e(B vowel-base "VOWEL SIGN SARA EI MAI MUAN\"")
+ (?\e$,1Dd\e(B vowel-base "VOWEL SIGN SARA AI MAI MAY")
+ (?\e$,1Df\e(B special "KO LA (REPETITION)")
+ (?\e$,1Dh\e(B tone "TONE MAI EK")
+ (?\e$,1Di\e(B tone "TONE MAI THO")
+ (?\e$,1Dj\e(B tone "TONE MAI TI")
+ (?\e$,1Dk\e(B tone "TONE MAI JADTAWAR")
+ (?\e$,1Dl\e(B tone "CANCELLATION MARK")
+ (?\e$,1Dm\e(B vowel-upper "VOWEL SIGN SARA OR")
+ (?\e$,1Dp\e(B special "DIGIT ZERO")
+ (?\e$,1Dq\e(B special "DIGIT ONE")
+ (?\e$,1Dr\e(B special "DIGIT TWO")
+ (?\e$,1Ds\e(B special "DIGIT THREE")
+ (?\e$,1Dt\e(B special "DIGIT FOUR")
+ (?\e$,1Du\e(B special "DIGIT FIVE")
+ (?\e$,1Dv\e(B special "DIGIT SIX")
+ (?\e$,1Dw\e(B special "DIGIT SEVEN")
+ (?\e$,1Dx\e(B special "DIGIT EIGHT")
+ (?\e$,1Dy\e(B special "DIGIT NINE")
+ (?\e$,1D|\e(B consonant "LETTER NHOR NHUU" "MOUSE")
+ (?\e$,1D}\e(B consonant "LETTER MHOR MHAR" "DOG")))
elm)
(while l
(setq elm (car l) l (cdr l))
("\e(1d\e(B" (?\e(1d\e(B 0))
("\e(1c\e(B" (?\e(1c\e(B 0))
("\e(1`[R\e(B" (?\e(1`\e(B 0 ?\e(1[\e(B ?\e(1R\e(B))
- ("\e(1S\e(B" (0 ?\e(1S\e(B)))
+ ("\e(1S\e(B" (0 ?\e(1S\e(B))
+
+ ;; Unicode equivalents
+ ("\e$,1DP\e(B" (0 ?\e$,1DP\e(B) (0 ?\e$,1DQ\e(B))
+ ("\e$,1DR\e(B" (0 ?\e$,1DR\e(B))
+ ("\e$,1DT\e(B" (0 ?\e$,1DU\e(B))
+ ("\e$,1DU\e(B" (0 ?\e$,1DU\e(B))
+ ("\e$,1DV\e(B" (0 ?\e$,1DV\e(B))
+ ("\e$,1DW\e(B" (0 ?\e$,1DW\e(B))
+ ("\e$,1DX\e(B" (0 ?\e$,1DX\e(B))
+ ("\e$,1DY\e(B" (0 ?\e$,1DY\e(B))
+ ("\e$,1D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?\e$,1D`\e(B 0 ?\e$,1DV\e(B ?\e$,1DM\e(B))
+ ("\e$,1D`DWDM\e(B" (?\e$,1D`\e(B 0 ?\e$,1DW\e(B ?\e$,1DM\e(B))
+ ("\e$,1Dd\e(B" (?\e$,1Dd\e(B 0))
+ ("\e$,1Dc\e(B" (?\e$,1Dc\e(B 0))
+ ("\e$,1D`D[DR\e(B" (?\e$,1D`\e(B 0 ?\e$,1D[\e(B ?\e$,1DR\e(B))
+ ("\e$,1DS\e(B" (0 ?\e$,1DS\e(B)))
"Alist of Lao vowel string vs the corresponding re-ordering rule.
Each element has this form:
(VOWEL NO-MAA-SAKOD-RULE WITH-MAA-SAKOD-RULE (MAA-SAKOD-0 RULE-0) ...)
(concat lao-str (substring str from to))
lao-str)))
+;;;###autoload
+(defun lao-post-read-conversion (len)
+ (lao-compose-region (point) (+ (point) len))
+ len)
+
;;;###autoload
(defun lao-composition-function (from to pattern &optional string)
"Compose Lao text in the region FROM and TO.