From bb58920cd30cf0911974047027c8aff7644a9bac Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 28 Apr 1998 13:53:50 +0000 Subject: [PATCH] (ps-output-string-prim): Don't quote multibyte characters. --- lisp/ps-print.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 212c10b1977..cb2ab1d686d 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el @@ -2931,8 +2931,10 @@ page-height == bm + print-height + tm - ho - hh ;; (, ) and \. (while (progn (skip-chars-forward " -'*-[]-~") (not (eobp))) (let ((special (following-char))) - (delete-char 1) - (insert (aref ps-string-escape-codes special)))) + (if (> (char-bytes special) 1) + (forward-char) + (delete-char 1) + (insert (aref ps-string-escape-codes special))))) (goto-char (point-max)) (insert ")")) ;insert end-string delimiter -- 2.39.2