Apologies again for the delay; this was a busy weekend for me! On Thu, 2017 Apr 27 12:01+0000, Thorsten Glaser wrote: > Daniel Richard G. dixit: > > >I played with this some more, and found what was missing: a call to > >setlocale(). > > Oh.
I often forget, the LC_* envvars don't do anything by themselves... > >thing to note is that not just any EBCDIC codepage can be used in a > >POSIX environment, because if you can't encode e.g. square brackets, > >then basic things like shell scripts will break. > > Hmm. I could check for required characters in the output, or just > leave this to the user. (We likely only support the codepage the shell > was compiled for anyway, due to all those embedded strings.) I would leave it to the user. While getting shell scripts to work with missing punctuation characters might be an interesting challenge (sort of like writing a novel without the letter "e"), you're allowed to assume that the build environment is at least minimally sane :-) On to the new thread! --Daniel -- Daniel Richard G. || [email protected] My ASCII-art .sig got a bad case of Times New Roman.
