[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Sometimes it is useful to find out which character sets appear in a part of a buffer or a string. One use for this is in determining which coding systems (see section 33.10 Coding Systems) are capable of representing all of the text in question.
The optional argument translation specifies a translation table to
be used in scanning the text (see section 33.9 Translation of Characters). If it
is non-nil
, then each character in the region is translated
through this table, and the value returned describes the translated
characters instead of the characters actually in the buffer.
find-charset-region
, except
that it applies to the contents of string instead of part of the
current buffer.