From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sigvaldi Newsgroups: gmane.emacs.help Subject: Re: How to compare strings? Date: 29 Apr 2007 14:31:04 -0700 Organization: http://groups.google.com Message-ID: <1177882264.245963.57540@n76g2000hsh.googlegroups.com> References: <85slajb15e.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1177882503 24885 80.91.229.12 (29 Apr 2007 21:35:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2007 21:35:03 +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:59 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 1HiH2n-0002hH-RW for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Apr 2007 23:34:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiH8u-00069b-Hn for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Apr 2007 17:41:16 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!n76g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 85.220.54.160 Original-X-Trace: posting.google.com 1177882264 11009 127.0.0.1 (29 Apr 2007 21:31:04 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 29 Apr 2007 21:31:04 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: n76g2000hsh.googlegroups.com; posting-host=85.220.54.160; posting-account=UZGo_AwAAACr3choRJDXUwBmgPPHDhwS Original-Xref: shelby.stanford.edu gnu.emacs.help:147759 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:43362 Archived-At: Joost Kremers wrote: > 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 =F6 > interspersed with those with o, but within the letter O, o>=F6. So both "= Ode" > and "=F6de" appear under O, but the former before the latter. Both, howev= er, > appear before "oder". > > Yet, other languages that use =F6 may well alphabetise it as a completely > separate letter. IIRC this is done for example in Hungarian dictionaries, > where O and =D6 are different sections of the dictionary, =D6 following a= fter > O. In Icelandic I think (may well be wrong, though), that it is customary > to sort words with =D6 at the end, that is, even *after* Z. > The Icelandic alphabet ends in XYZ=DE=C6=D6