# HG changeset patch # User Richard M. Stallman # Date 1112044054 0 # Node ID f49b6692433d57e5f53f5b1203223632e1daac73 # Parent a45405053cb1817a7a67698de95a941380b5a3cb (Specify Coding): Document recode-region and recode-file-name. diff -r a45405053cb1 -r f49b6692433d man/mule.texi --- 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