[Jprogramming] Sorting Swedish alphabet
bill lam
bbill.lam at gmail.com
Thu Aug 18 08:45:52 UTC 2016
You need to use an alternate collating sequence
a /: (7 u:alf) i.a
see J dictionary page.
Чт, 18 авг 2016, Gian Medri написал(а):
> Hi!
>
> Sorting Swedish text is not correct.
>
> The Swedish alphabet has 3 vocals after z.
>
>
> alf=: 'abcdefghijklmnopqrstuvwxyzåäö'
>
>
> a=: 7 u: 'qöghäwzxå'
> a /: a
> ghqwxzäåö
>
>
> The correct sorting should be:
>
> ghqwxzåäö
>
>
> I wonder if there is a solution to this problem.
>
>
> Thanks
>
> Gian Medri
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
More information about the Programming
mailing list