Function: w32-list-locales

w32-list-locales is an interactive and byte-compiled function defined in w32-fns.el.gz.

Signature

(w32-list-locales)

Documentation

List the name and id of all locales supported by Windows.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/w32-fns.el.gz
(defun w32-list-locales ()
  "List the name and id of all locales supported by Windows."
  (interactive)
  (when (null w32-valid-locales)
    (setq w32-valid-locales (sort (w32-get-valid-locale-ids) #'<)))
  (with-output-to-temp-buffer "*Supported Locales*"
    (princ "LCID\tAbbrev\tFull name\n\n")
    (dolist (locale w32-valid-locales)
      (princ (format "%d\t%s\t%s\n"
		     locale
		     (w32-get-locale-info locale)
		     (w32-get-locale-info locale t))))))