[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Typing raw bytes
From: |
Eli Zaretskii |
Subject: |
Re: Typing raw bytes |
Date: |
Mon, 21 Jan 2013 05:50:31 +0200 |
> From: Kenichi Handa <address@hidden>
> Cc: address@hidden
> Date: Mon, 21 Jan 2013 08:22:17 +0900
>
> In article <address@hidden>, Eli Zaretskii <address@hidden> writes:
>
> > Suppose I want to create a file whose contents is a series of certain
> > bytes. How would I go about that?
>
> > I tried "M-x hexl-mode RET" in a new buffer, but it evidently doesn't
> > let you insert bytes, only edit existing bytes.
>
> > Next I tried "C-x RET f raw-text RET" in a new buffer followed by
> > "C-q NNN" etc., but the data written thereafter to disk is more bytes
> > than I typed, because, I guess, "C-q NNN" inserts windows-1255
> > characters (this is on Windows, where keyboard-coding-system is
> > windows-1255-unix), and what winds up in the file is their UTF-8
> > encoding.
>
> Please use C-q in a unibyte buffer.
But "C-x RET f raw-text RET" does just that. And it still didn't work
for me, at least not on Windows. Does it work for you in a TTY
session on Unix?
- Re: Typing raw bytes, (continued)
Re: Typing raw bytes, Ivan Andrus, 2013/01/20
Re: Typing raw bytes, Michael Welsh Duggan, 2013/01/20
Re: Typing raw bytes, Kenichi Handa, 2013/01/20
- Re: Typing raw bytes,
Eli Zaretskii <=
Re: Typing raw bytes, Stefan Monnier, 2013/01/20
Re: Typing raw bytes, Richard Stallman, 2013/01/21