Function: tibetan-decompose-string

tibetan-decompose-string is an autoloaded and byte-compiled function defined in tibet-util.el.gz.

Signature

(tibetan-decompose-string STR)

Documentation

Decompose Tibetan string STR.

This is different from decompose-string because precomposed Tibetan characters are decomposed into normal Tibetan character sequences.

Source Code

;; Defined in /usr/src/emacs/lisp/language/tibet-util.el.gz
;;;###autoload
(defun tibetan-decompose-string (str)
  "Decompose Tibetan string STR.
This is different from `decompose-string' because precomposed
Tibetan characters are decomposed into normal Tibetan character
sequences."
  (let ((new "")
	(len (length str))
	(idx 0)
	char slot)
    (while (< idx len)
      (setq char (aref str idx)
	    slot (assq (aref str idx) tibetan-decompose-precomposition-alist)
	    new (concat new (if slot (cdr slot) (char-to-string char)))
	    idx (1+ idx)))
    new))