develooper Front page | perl.perl5.porters | Postings from July 2012

Re: (locales) Re: Smoke [5.13.10] v5.13.10-384-g3dfaac4 FAIL(F)openbsd 4.8 (i386/1 cpu)

Thread Previous | Thread Next
Nicholas Clark
July 4, 2012 03:24
Re: (locales) Re: Smoke [5.13.10] v5.13.10-384-g3dfaac4 FAIL(F)openbsd 4.8 (i386/1 cpu)
Message ID:
On Sun, Mar 13, 2011 at 10:27:05AM -0500, Craig A. Berry wrote:

> So the problems are all with 0xbf, 0xf7, and 0x88.  These don't look
> to me like they're in the portable character set:
> so I think what happens to them in the C/POSIX locale is undefined.


    The tables in Locale Definition describe the characteristics and
    behavior of the POSIX locale for data consisting entirely of characters
    from the portable character set and the control character set. For other
    characters, the behavior is unspecified.

No, I didn't know that. Wonderful. So anything outside of ASCII can't be
trusted. (But at least doesn't summon nasal daemons)

> I'm guessing these are continuation bytes of multi-byte sequences?  I
> didn't think the C locale knew anything about such things.

I thought that too. Seems that I'm wrong. It's merely "unspecified".

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About