[PATCH][BZ 18934] hu_HU: Fix multiple sorting bugs.
Mike Frysinger
vapier@gentoo.org
Thu Apr 21 06:13:00 GMT 2016
On 14 Oct 2015 00:36, Egmont Koblinger wrote:
> I checked the previous patch many times, yet I missed something that
> I've just discovered after sending the previous mail. I forgot one of
> the compound letters from the unittest.
>
> The only change from the previous patch is the addition of these few
> more lines in the unittest, so it has an even better coverage. The
> patch to the locale definiton is unchanged.
>
> I've re-run the test and of course it still passes :)
i'm inclined to merge this since you've added a test ;). i've started
looking at LC_COLLATE in general, but it's taking a bit to internalize.
CLDR provides guidance here, but it uses the Unicode rule syntax which
is even more packed than the POSIX format. i don't suppose you can read
it ? :) i'll have to find/write a parser/converter for this ...
here's what CLDR says about hu:
&C<cs<<<Cs<<<CS
&D<dz<<<Dz<<<DZ
&DZ<dzs<<<Dzs<<<DZS
&G<gy<<<Gy<<<GY
&L<ly<<<Ly<<<LY
&N<ny<<<Ny<<<NY
&S<sz<<<Sz<<<SZ
&T<ty<<<Ty<<<TY
&Z<zs<<<Zs<<<ZS
&O<ö<<<Ö<<ő<<<Ő
&U<ü<<<Ü<<ű<<<Ű
&cs<<<ccs/cs
&Cs<<<Ccs/cs
&CS<<<CCS/CS
&dz<<<ddz/dz
&Dz<<<Ddz/dz
&DZ<<<DDZ/DZ
&dzs<<<ddzs/dzs
&Dzs<<<Ddzs/dzs
&DZS<<<DDZS/DZS
&gy<<<ggy/gy
&Gy<<<Ggy/gy
&GY<<<GGY/GY
&ly<<<lly/ly
&Ly<<<Lly/ly
&LY<<<LLY/LY
&ny<<<nny/ny
&Ny<<<Nny/ny
&NY<<<NNY/NY
&sz<<<ssz/sz
&Sz<<<Ssz/sz
&SZ<<<SSZ/SZ
&ty<<<tty/ty
&Ty<<<Tty/ty
&TY<<<TTY/TY
&zs<<<zzs/zs
&Zs<<<Zzs/zs
&ZS<<<ZZS/ZS
but i think there's a proposal to replace it with:
&C<cs<<<cS<<<Cs<<<CS
&D<dz<<<dZ<<<Dz<<<DZ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<<<TtY/tY<<<TTy/Ty
&TY<<<TTY/TY
&zs<<<zzs/zs<<<zzS/zS<<<zZs/Zs<<<zZS/ZS
&Zs<<<Zzs/zs<<<ZzS/zS<<<ZZs/Zs
&ZS<<<ZZS/ZS
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-locales/attachments/20160421/34fe0bf4/attachment.sig>
More information about the Libc-locales
mailing list