Function: lao-transcribe-roman-to-lao-string
lao-transcribe-roman-to-lao-string is an autoloaded and byte-compiled
function defined in lao-util.el.gz.
Signature
(lao-transcribe-roman-to-lao-string STR)
Documentation
Transcribe Romanized Lao string STR to Lao character string.
Source Code
;; Defined in /usr/src/emacs/lisp/language/lao-util.el.gz
;;;###autoload
(defun lao-transcribe-roman-to-lao-string (str)
"Transcribe Romanized Lao string STR to Lao character string."
(let ((from 0)
(to (length str))
(lao-str "")
val)
(while (setq val (lao-transcribe-single-roman-syllable-to-lao from to str))
(let ((start (car val))
(end (nth 1 val))
(lao (nth 2 val)))
(if (> start from)
(setq lao-str (concat lao-str (substring str from start) lao))
(setq lao-str (concat lao-str lao)))
(setq from end)))
(if (< from to)
(concat lao-str (substring str from to))
lao-str)))