From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: How to compare strings? Date: 29 Apr 2007 20:39:57 GMT Message-ID: References: <85slajb15e.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1177882477 24808 80.91.229.12 (29 Apr 2007 21:34:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2007 21:34:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 29 23:34:30 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HiH2M-0002Td-79 for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Apr 2007 23:34:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiH8S-0005xY-UY for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Apr 2007 17:40:48 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: individual.net gfU6w42FK46AksgqanszgQOdsyenvLgnh5nTw+hGnlXteNvqzN Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:147757 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43361 Archived-At: Eli Zaretskii wrote: >> From: David Kastrup >> Does Emacs have a concept of sort order depending on language? If >> not, why not? > > Because characters that have different order depending on the language > have different codepoints inside Emacs, and thus the issue doesn't > exist. > > Or am I missing something? Well, in German dictionaries you will generally find words with ö interspersed with those with o, but within the letter O, o>ö. So both "Ode" and "öde" appear under O, but the former before the latter. Both, however, appear before "oder". Yet, other languages that use ö may well alphabetise it as a completely separate letter. IIRC this is done for example in Hungarian dictionaries, where O and Ö are different sections of the dictionary, Ö following after O. In Icelandic I think (may well be wrong, though), that it is customary to sort words with Ö at the end, that is, even *after* Z. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)