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

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

Re: problem with editing/decoding utf-8 text


From: Fery
Subject: Re: problem with editing/decoding utf-8 text
Date: Mon, 26 May 2003 11:47:10 +0200

Oliver Scholz wrote:
> 
> kai.grossjohann@gmx.net (Kai Großjohann) writes:
> > (setq coding-category-list
> >       (cons 'coding-category-utf-8
> >             (delq 'coding-cateogcoding-utf-8
> >                   coding-category-list)))
> >
> 
> Not 100% if this really makes a difference --
> 
> (set-coding-priority (list 'coding-category-utf-8))
> 
> maybe?

It helps. Thanks!

> >> 1. Cannot I tell to a buffer (after the load of a file) that interpet it
> >> as binary, and save exactly the same bytes what it did read into the
> >> buffer (i.e. transparent buffer)?
> >
> > It's not a good idea.  The buffer contents might already be munged at
> > that point.

I know, I know, but I am the user, I should know if it is safe... :)

> Maybe the OP wants to visit files with `M-x find-file-literally'?

Yes, this is what I wanted originally. :) But, without the existence of
a 'literal keyboard' it doesn't help _so_ much (although, I can edit the
non-utf-8 part of the file)...

Circum




reply via email to

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