Hi Viktor,
> Now I see I forgot to change SVISO to ISO-8859-15.
>
> I hope Klas see this okay. It was wrong all along BTW,
> it just didn't surface.
If it is OK with you, I will do some thinking over the weekend and
report back after that. As you mentioned in one of the commit messages,
the offending characters in ISO-8859-15 that do not exist in 8859-1 are
not a part of the Swedish alphabet "of old". When I built the original
collation strings for xHB, the idea was to include "everything including
the kitchen sink" because the Swedish population now includes so many
people from all corners of the globe, and they want to spell their names
as they would in their original languages, and as a result of that the
alphabet in actual use has been extended. So for example, I packed all
available variants of "Y" that exist in Windows-1252 together between
"X" and "Z" even though some of them are very seldom used.
The general rule in the book "Swedish Writing Rules" that I referred to
in my comments to the SV437C codepage says that all available variants
of a certain letter should have the same value, and from there it is
just a matter of cramming as many letters as possible, that exist in
each codepage, into the collation strings. So there is no fixed rule
that says that an Y with umlauts has to be included in the language, I
included it in the collation string for SVWIN because it was available
in that codepage.
I did not even notice when SVISO was added that there was really an
unhandled conflict with SVWIN. So far I still use
set(_SET_DBCODEPAGE,'SV437C') everywhere while my VM codepage is SVISO.
And I suspect that besides me there are zero developers using Swedish
codpages (sadly...), so the short term problem is limited as long as
Harbour can be built for everyone.
The idea, in general, of calling the Swedish codepage 8859-15 and not
8859-1 gives me a slightly strange feeling, so I will contemplate
whether this is the way to go or if the offending characters should be
removed. It is mostly a philosophical question.
Regards,
Klas