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

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

Re: changing encoding of buffer


From: Eli Zaretskii
Subject: Re: changing encoding of buffer
Date: Wed, 30 May 2007 06:22:29 +0300

> From: M G Berberich <berberic@forwiss.uni-passau.de>
> Date: Tue, 29 May 2007 23:06:48 +0200
> 
> > Use encode-coding-region to encode the region in windows-1252, then
> > use decode-coding-region to decode it back as UTF-8.  That's it!
> 
> Thanks. It has to be:
> 
>     (encode-coding-region (point-min) end 'utf-8)
>     (decode-coding-region (point-min) end 'windows-1252)
> 
> to work for me.

That's strange: the function you showed that used recode did it the
other way around, no?




reply via email to

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