;;; china-util.el --- utilities for Chinese -*- coding: iso-2022-7bit -*-
-;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
-;; Licensed to the Free Software Foundation.
+;; Copyright (C) 1995, 2003 Electrotechnical Laboratory, JAPAN.
+;; Licensed to the Free Software Foundation.
;; Copyright (C) 1995, 2001 Free Software Foundation, Inc.
+;; Copyright (C) 2003
+;; National Institute of Advanced Industrial Science and Technology (AIST)
+;; Registration Number H13PRO009
;; Keywords: mule, multilingual, Chinese
"Flag to tell if we should care line continuation convention of Hz.")
(defconst hz-set-msb-table
- (let ((str (make-string 127 0))
- (i 0))
- (while (< i 33)
- (aset str i i)
- (setq i (1+ i)))
- (while (< i 127)
- (aset str i (+ i 128))
- (setq i (1+ i)))
- str))
+ (eval-when-compile
+ (let ((chars nil)
+ (i 0))
+ (while (< i 33)
+ (push i chars)
+ (setq i (1+ i)))
+ (while (< i 127)
+ (push (+ i 128) chars)
+ (setq i (1+ i)))
+ (apply 'string (nreverse chars)))))
;;;###autoload
(defun decode-hz-region (beg end)