>You are right... setlocale() on MPE/iX returns some
>"extranneous" characters! I just stripped those characters
>to get what I wanted!
I also recall being surprised be the "extranous" chars
returned by MPE/iX setlocale()... but there is a scheme
in it... I vaguely recall that if you look closer (i.e.
with display function ON) you will even notice a byte
in the string that is the binary index of the attribute.
If you request LC_ALL, the string will have a sequence
of (index):(value) pairs, if I recall correctly.
So this is probably "designer's choice" and not a kind of bug.
Lars (whishing it were documented better!)