1998-08-24 Tanaka Akira <akr@jaist.ac.jp>
+ * DOODLE-TIPS: Add a notice about ew-ccl-b.
+
+ * ew-bq.el (ew-bq-use-mel): New variable.
+ (ew-decode-q): Use `q-encoding-decode-string' if `ew-bq-use-mel' is non-nil.
+ (ew-encode-b): Use `base64-encode-string' if `ew-bq-use-mel' is non-nil.
+ (ew-decode-b): Use `base64-decode-string' if `ew-bq-use-mel' is non-nil.
+
+1998-08-24 Tanaka Akira <akr@jaist.ac.jp>
+
* ew-bq.el (ew-ccl-qp-table): New constant.
(ew-ccl-encode-quoted-printable): New CCL program.
(eword-decode-unstructured-field-body (std11-unfold-string string) 'must-unfold))))
* Ignore warnings about args-eword-* when byte-compiling.
+
+* If you have a problem with ew-ccl-b or other CCL based coding-system, set ew-bq-use-mel to t.
+
)
;;;
+(require 'mel)
+(defvar ew-bq-use-mel nil)
(defun ew-encode-uq (str)
(encode-coding-string (string-as-unibyte str) 'ew-ccl-uq))
(defun ew-encode-pq (str)
(encode-coding-string (string-as-unibyte str) 'ew-ccl-pq))
-(defun ew-decode-q (str)
- (string-as-unibyte (decode-coding-string str 'ew-ccl-uq)))
+(if ew-bq-use-mel
+ (defalias 'ew-decode-q 'q-encoding-decode-string)
+ (defun ew-decode-q (str)
+ (string-as-unibyte (decode-coding-string str 'ew-ccl-uq))))
-(require 'mel)
-(if (or base64-dl-module ew-ccl-encode-b-is-broken)
+(if (or ew-bq-use-mel base64-dl-module ew-ccl-encode-b-is-broken)
(defalias 'ew-encode-b 'base64-encode-string)
(defun ew-encode-b (str)
(encode-coding-string (string-as-unibyte str) 'ew-ccl-b)))
-(if base64-dl-module
+(if (or ew-bq-use-mel base64-dl-module)
(defalias 'ew-decode-b 'base64-decode-string)
(defun ew-decode-b (str)
(string-as-unibyte (decode-coding-string str 'ew-ccl-b))))