unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* use emacs to change to utf8?
@ 2009-08-06 14:48 Neal Becker
  2009-08-06 15:12 ` Herbert Euler
  2009-08-06 18:06 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Neal Becker @ 2009-08-06 14:48 UTC (permalink / raw)
  To: help-gnu-emacs

When developing fedora packages, fedora's rpmlint will complain if some 
strange character is found in documentation files.  Usually I use iconv to 
fix it to utf8.

Just curious.  How would I use emacs to do this?






^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: use emacs to change to utf8?
  2009-08-06 14:48 use emacs to change to utf8? Neal Becker
@ 2009-08-06 15:12 ` Herbert Euler
       [not found]   ` <200908061120.02066.ndbecker2@gmail.com>
  2009-08-06 18:06 ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Herbert Euler @ 2009-08-06 15:12 UTC (permalink / raw)
  To: ndbecker2, help-gnu-emacs



_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1




^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: use emacs to change to utf8?
       [not found]   ` <200908061120.02066.ndbecker2@gmail.com>
@ 2009-08-06 15:24     ` Herbert Euler
  0 siblings, 0 replies; 4+ messages in thread
From: Herbert Euler @ 2009-08-06 15:24 UTC (permalink / raw)
  To: ndbecker2, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]


> I received a blank message from you.

I'm sorry but I don't know why.

(encode-coding-string (decode-coding-string string 'from-enc) 'to-enc)

does what you want; and for buffer, there are decode-coding-region
and encode-coding-region

Regards,
Guanpeng Xu

_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx

[-- Attachment #2: Type: text/html, Size: 630 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: use emacs to change to utf8?
  2009-08-06 14:48 use emacs to change to utf8? Neal Becker
  2009-08-06 15:12 ` Herbert Euler
@ 2009-08-06 18:06 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2009-08-06 18:06 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Neal Becker <ndbecker2@gmail.com>
> Date: Thu, 06 Aug 2009 10:48:11 -0400
> 
> When developing fedora packages, fedora's rpmlint will complain if some 
> strange character is found in documentation files.  Usually I use iconv to 
> fix it to utf8.
> 
> Just curious.  How would I use emacs to do this?

After visiting the file, type "C-x RET f utf-8 RET C-x C-s".




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-06 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 14:48 use emacs to change to utf8? Neal Becker
2009-08-06 15:12 ` Herbert Euler
     [not found]   ` <200908061120.02066.ndbecker2@gmail.com>
2009-08-06 15:24     ` Herbert Euler
2009-08-06 18:06 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).