bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unsafe coding system


From: Ehud Karni
Subject: Re: Unsafe coding system
Date: Thu, 8 Nov 2001 10:33:10 +0200

On Thu, 8 Nov 2001 08:48:17 +0900 (JST), Kenichi Handa <address@hidden> wrote:
> 
> > What I want: I want to be able to save it in UNSAFE way. i.e. I want
> > to save it as hebrew-iso-8bit and the characters that can't be encoded
> > by this coding system will be left AS IS (8 bit).
> 
> Could you please try below?
> 
> (make-coding-system
>  'hebrew-iso-8bit 2 ?8
>  "ISO 2022 based 8-bit encoding for Hebrew (MIME:ISO-8859-8)"
>  '(ascii hebrew-iso8859-8 nil nil
>    nil ascii-eol ascii-cntl nil nil nil nil nil t)
>  '((safe-charsets ascii hebrew-iso8859-8 eight-bit-control)
>    (mime-charset . iso-8859-8)))
> 
> This definition is different from the original only in
> including eight-bit-control in safe-charsets.

I checked it. This does exactly what I wanted.
Thank you very much HANDA san.

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:address@hidden    http://www.simonwiesel.co.il



reply via email to

[Prev in Thread] Current Thread [Next in Thread]