|
From: Scott M. <Sco...@sa...> - 2006-12-13 21:26:32
|
I'm referring to the strings "2004", "2010", and "23". Numeric = collation is NOT on. I'm not sure what code snippet you'd want. It's a = standard instantiation of a collator along with option settings. This may well be a problem in my usage of the ICU, which is why I'd like = a sanity check. Is there a demo page running 3.4? Thanks, Scott -----Original Message----- From: icu...@li... = [mailto:icu...@li...] On Behalf Of weiv Sent: Wednesday, December 13, 2006 4:00 PM To: ICU support mailing list Subject: Re: [icu-support] Collation in ICU 3.4 with ALTERNATE SHIFTED = -strange results Hi Scott, are you referring to strings "2004" "2010" "23" or code points? Do you = have numeric collation turned on or off? Could you provide the code = snippet? Thank you very much for reporting this. Regards, v. On Dec 13, 2006, at 12:53 PM, Scott Mebust wrote: > > Is there a problem with 3.4 and ALTERNATE SHIFTED? I'm sorting with=20 > an en_US locale, a STRENGTH of 4, and ALTERNATE SHIFTED and I'm=20 > getting some strange results. I'm sorting a list of three > strings: > > 2004 > 2010 > 23 > > and ICU 3.4 is returning the keys: > > 25 7E 25 82 01 06 01 06 01 26 25 7A 25 7A 26 00 > 25 7E 25 7C 01 06 01 06 01 26 25 7A 26 25 7A 00 > 25 7E 25 80 01 06 01 06 01 27 00 > > respectively and this results in an order of: > > 2010 > 23 > 2004 > > Without ALTERNATE SHIFTED, I get the following keys: > > 25 7E 25 7A 25 7A 25 82 01 08 01 08 01 26 00 > 25 7E 25 7A 25 7C 25 7A 01 08 01 08 01 26 00 > 25 7E 25 80 01 06 01 06 01 24 00 > > and this results in the order: > > 2004 > 2010 > 23 > > I checked against the demo page here: > > http://demo.icu-project.org/icu-bin/locexp?_=3Den_US&d_=3Den&x=3Dcol > > with and without the additional custom rule [alternate shifted] but=20 > this is returning different keys, leading me to think that this demo=20 > page might be using 3.6. > > Can anyone offer a quick sanity check here? It would be much=20 > appreciated. > > Scott > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > SourceForge.net's Techsay panel and you'll get the chance to share=20 > your opinions on IT & business topics through brief surveys - and earn = > cash http://www.techsay.com/default.php? > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > _______________________________________________ > icu-support mailing list - icu...@li... To=20 > Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu- > support -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join = SourceForge.net's Techsay panel and you'll get the chance to share your = opinions on IT & business topics through brief surveys - and earn cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ icu-support mailing list - icu...@li... To = Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support |