Mercurial > emacs
changeset 61052:f49b6692433d
(Specify Coding): Document recode-region and recode-file-name.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 28 Mar 2005 21:07:34 +0000 |
parents | a45405053cb1 |
children | bfca4745d9a3 |
files | man/mule.texi |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/man/mule.texi Mon Mar 28 21:05:54 2005 +0000 +++ b/man/mule.texi Mon Mar 28 21:07:34 2005 +0000 @@ -928,6 +928,9 @@ @item C-x @key{RET} X @var{coding} @key{RET} Use coding system @var{coding} for transferring @emph{one} selection---the next one---to or from the window system. + +@item M-x recode-region +Convert the region from a previous coding system to a new one. @end table @kindex C-x RET f @@ -1056,6 +1059,12 @@ The default for translation of process input and output depends on the current language environment. +@findex recode-region + If a piece of text has already been inserted into a buffer using the +wrong coding system, you can decode it again using @kbd{M-x +recode-region}. This prompts you for the old coding system and the +desired coding system, and acts on the text in the region. + @vindex file-name-coding-system @cindex file names with non-@acronym{ASCII} characters @findex set-file-name-coding-system @@ -1084,6 +1093,12 @@ name, or it may get an error. If such a problem happens, use @kbd{C-x C-w} to specify a new file name for that buffer. +@findex recode-file-name + If a mistake occurs when encoding a file name, use the command +command @kbd{M-x recode-file-name} to change the file name's coding +system. This prompts for an existing file name, its old coding +system, and the coding system to which you wish to convert. + @vindex locale-coding-system @cindex decoding non-@acronym{ASCII} keyboard input on X The variable @code{locale-coding-system} specifies a coding system