[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alphabets resp. locales

From: Andreas Röhler
Subject: alphabets resp. locales
Date: Wed, 11 Aug 2010 09:51:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20100711 Thunderbird/3.0.6


is there a way to get the chars of alphabets with resp. to locales?

A general way to get all chars of the french alphabet for example?

Below some work-around for the german alphabet.

Comments welcome




(defun german-alphabet ()
  "Returns chars of german alphabet. "
  (let (gebundene-staebe)
    (loop for i upfrom 97 to 122 do
(setq gebundene-staebe (concat gebundene-staebe (format "%c" i))))
    (loop for i upfrom 65 to 90 do
(setq gebundene-staebe (concat gebundene-staebe (format "%c" i))))
    (setq gebundene-staebe (concat gebundene-staebe "äöüÄÖÜß"))
    (when (interactive-p) (message "%s" gebundene-staebe))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]