[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl:sort with msxml english language, danish char

Subject: RE: xsl:sort with msxml english language, danish characters, weird results
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 25 Oct 2004 13:26:07 +0100
unicode danish
> What are
> the rules for accenting? I suppose that most people if you
> asked them what x was
> would say that's an o with a slash through it, and an f was
> an a and an e stuck
> really close together, hence mnemonic entities, but is that
> the rule for
> determining what is an accented character? We asked 100
> people and 90 gave the
> following answer?

I used the term "accent" very loosely. For the full gory detail, see the
Unicode Collation Algorithm [1]. I don't know if Microsoft follow this
precisely, but they are probably using the same principles.

As for how they collected the data - yes, they probably asked a few
non-randomly selected people, and they looked in some (possibly out of date)
textbooks, and when they got it badly wrong people complained and they
sometimes fixed it. There isn't a single right answer - different publishers
sort their dictionaries and indexes and phone books in different ways, and
none of them is wrong. The UCA is written as if there is a single correct
answer, but there isn't.

Michael Kay
http://www.saxonica.com/

[1] http://www.unicode.org/reports/tr10/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.