Mercurial > emacs
comparison lispref/nonascii.texi @ 22267:dfac7398266b
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 27 May 1998 23:47:15 +0000 |
parents | 40089afa2b1d |
children | 0d84817a4973 |
comparison
equal
deleted
inserted
replaced
22266:8b08793f2633 | 22267:dfac7398266b |
---|---|
702 @node User-Chosen Coding Systems | 702 @node User-Chosen Coding Systems |
703 @subsection User-Chosen Coding Systems | 703 @subsection User-Chosen Coding Systems |
704 | 704 |
705 @tindex select-safe-coding-system | 705 @tindex select-safe-coding-system |
706 @defun select-safe-coding-system from to &optional preferred-coding-system | 706 @defun select-safe-coding-system from to &optional preferred-coding-system |
707 This function selects a coding system for encoding the between | 707 This function selects a coding system for encoding the text between |
708 @var{from} and @var{to}, asking the user to choose if necessary. | 708 @var{from} and @var{to}, asking the user to choose if necessary. |
709 | 709 |
710 The optional argument @var{preferred-coding-system} specifies a coding | 710 The optional argument @var{preferred-coding-system} specifies a coding |
711 system try first. If it can handle the text in the specified region, | 711 system to try first. If that one can handle the text in the specified |
712 then it is used. If this argument is omitted, the current buffer's | 712 region, then it is used. If this argument is omitted, the current |
713 value of @code{buffer-file-coding-system} is tried first. | 713 buffer's value of @code{buffer-file-coding-system} is tried first. |
714 | 714 |
715 If the region contains some multibyte characters that the preferred | 715 If the region contains some multibyte characters that the preferred |
716 coding system cannot encode, this function asks the user to choose from | 716 coding system cannot encode, this function asks the user to choose from |
717 a list of coding systems which can encode the text, and returns the | 717 a list of coding systems which can encode the text, and returns the |
718 user's choice. | 718 user's choice. |