[xquery-talk] order UTF-8 encoded Strings

gonzberg at gmx.de gonzberg at gmx.de
Wed Feb 27 11:38:51 PST 2008


Hi all,
I retrieve UTF-8 encoded Strings from my database with this XQuery:

for $x in //text/country order by xs:string($x) ascending return xs:string($x)

This is the result, it is not ordered like I expected:

Deutschland
Italia
Oabcde
Ägypten
Österreich

Is this the correct order according to a default collation? How would I order it like this (which would be standard for German language):

Ägypten
Deutschland
Italia
Oabcde
Österreich

Thanks a lot, Gonz


-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx


More information about the talk mailing list