Chet Ramey wrote:
> I will take a look, but it would help to know exactly which locale.
Sorry, I should have mentioned.
It is en_GB with ISO-8859-1.
This condition evaluates to true so testing isalpha() may not be
entirely the right way. It probably comes before D in any collation
sequence resulting in it ascending.
[[ Ä = [[:alpha:]] ]]
Might be worth looking at how Perl handles these ranges.
Oliver