Function: w32-add-charset-info
w32-add-charset-info is a byte-compiled function defined in
w32-fns.el.gz.
Signature
(w32-add-charset-info XLFD-CHARSET WINDOWS-CHARSET CODEPAGE)
Documentation
Function to add character sets to display with Windows fonts.
Creates entries in w32-charset-info-alist.
XLFD-CHARSET is a string which will appear in the XLFD font name to
identify the character set. WINDOWS-CHARSET is a symbol identifying
the Windows character set this maps to. For the list of possible
values, see the documentation for w32-charset-info-alist. CODEPAGE
can be a numeric codepage that Windows uses to display the character
set, t for Unicode output with no codepage translation or nil for 8
bit output with no translation.
Source Code
;; Defined in /usr/src/emacs/lisp/w32-fns.el.gz
(defvar w32-charset-info-alist) ; w32font.c
(defun w32-add-charset-info (xlfd-charset windows-charset codepage)
"Function to add character sets to display with Windows fonts.
Creates entries in `w32-charset-info-alist'.
XLFD-CHARSET is a string which will appear in the XLFD font name to
identify the character set. WINDOWS-CHARSET is a symbol identifying
the Windows character set this maps to. For the list of possible
values, see the documentation for `w32-charset-info-alist'. CODEPAGE
can be a numeric codepage that Windows uses to display the character
set, t for Unicode output with no codepage translation or nil for 8
bit output with no translation."
(add-to-list 'w32-charset-info-alist
(cons xlfd-charset (cons windows-charset codepage))))