Function: dictionary-encode-charset

dictionary-encode-charset is a byte-compiled function defined in dictionary.el.gz.

Signature

(dictionary-encode-charset TEXT DICTIONARY)

Documentation

Convert TEXT to the charset defined for DICTIONARY.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
(defun dictionary-encode-charset (text dictionary)
  "Convert TEXT to the charset defined for DICTIONARY."
  (let ((coding-system (dictionary-coding-system dictionary)))
    (if coding-system
	(encode-coding-string text coding-system)
      text)))