Function: ethio-java-to-fidel-buffer

ethio-java-to-fidel-buffer is an autoloaded and byte-compiled function defined in ethio-util.el.gz.

Signature

(ethio-java-to-fidel-buffer)

Documentation

Convert the Java escape sequences in the buffer into Ethiopic characters.

Source Code

;; Defined in /usr/src/emacs/lisp/language/ethio-util.el.gz
;;;###autoload
(defun ethio-java-to-fidel-buffer nil
  "Convert the Java escape sequences in the buffer into Ethiopic characters."
  (let ((case-fold-search t)
	(ucode))
    (goto-char (point-min))
    (while (re-search-forward "\\\\u\\([0-9a-f][0-9a-f][0-9a-f][0-9a-f]\\)" nil t)
      (setq ucode (read (concat "#x" (match-string 1))))
      (when (and (>= ucode #x1200) (<= ucode #x137f))
	(replace-match (char-to-string ucode))))))