From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.help Subject: Re: How to compare strings? Date: Mon, 30 Apr 2007 09:50:05 +0200 Organization: Norwegian university of science and technology 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-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1177922115 21868 80.91.229.12 (30 Apr 2007 08:35:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2007 08:35:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 30 10:35:13 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 1HiRLk-0003pz-Or for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Apr 2007 10:35:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiRRu-0004xY-Jf for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Apr 2007 04:41:34 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.swip.net!swipnet!newsfeed1.funet.fi!newsfeeds.funet.fi!uio.no!ntnu.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: fiinbeck.math.ntnu.no Original-X-Trace: orkan.itea.ntnu.no 1177918789 26244 129.241.15.140 (30 Apr 2007 07:39:49 GMT) Original-X-Complaints-To: usenet@itea.ntnu.no Original-NNTP-Posting-Date: Mon, 30 Apr 2007 07:39:49 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (berkeley-unix) Cancel-Lock: sha1:WzrQZg2a17Zpt57yeAkMNpXhqE8= Original-Xref: shelby.stanford.edu gnu.emacs.help:147788 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:43391 Archived-At: + Joost Kremers : | Lennart Borgman (gmail) wrote: |> But I think there are completely different problems too. Does not some |> languages sort partly depending the phonetics instead of the spelling? | | TBH i have no idea what you mean by that... could you give an example? It's true, at least in Norwegian phone books. Before the letter Å entered our alphabet, Aa was used instead. You don't find that in regular words, anymore, but the practice survives in many family names. So a name like Aarnes would be alphabetized like it were Årnes. And just to make matters really confusing, the rule is supposed not to be followed with foreign names where the aa really does not corresponding to the letter å, so an algorithmic solution is impossible. (I strongly suspect that Norwegian phone books consistently alphabetize aa as å, though, regardless of the origin of the name.) -- * Harald Hanche-Olsen - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell