all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Comparing non-English strings for sorting
@ 2009-02-10  6:31 spamfilteraccount
  2009-02-10 10:47 ` spamfilteraccount
  0 siblings, 1 reply; 3+ messages in thread
From: spamfilteraccount @ 2009-02-10  6:31 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I see Emacs doesn't have builtin support for sorting non-Engish (UTF,
Unicode) strings in proper order.

Has anyone written a comparison function which can handle sorting such
strings if the character order is provided?

For example, in my case I'd supply the Hungarian alphabetical order as
a string ("aábcdeéfghijklmnoóöőpqrstuúüűxyvz") and the string
comparison function would use the character positions in this string
when comparing two strings do determine which is the lesser.

It couldn't handle all kinds of Unicode strings, of course, but it
would be an adequately simple solution for most of the Western
languages.

Someone may have already written this for some package, only I don't
know where to look. Any pointers?



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-12 23:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10  6:31 Comparing non-English strings for sorting spamfilteraccount
2009-02-10 10:47 ` spamfilteraccount
2009-02-12 23:57   ` Thien-Thi Nguyen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.