develooper Front page | perl.perl5.porters | Postings from April 2007

Re: perl, the data, and the tf8 flag

Thread Previous | Thread Next
From:
Glenn Linderman
Date:
April 4, 2007 13:53
Subject:
Re: perl, the data, and the tf8 flag
Message ID:
46141036.7000800@NevCal.com
On approximately 4/4/2007 12:30 PM, came the following characters from 
the keyboard of Dr.Ruud:
> Glenn Linderman schreef:
>   
>> the only two character sets that
>> perl really supports with semantics are ASCII and Unicode.
>>     
> There is much truth in there, but ASCII is 7-bit.
>   

Yes, and the only type of character set semantics that Perl applies to 
7-bit or 8-bit codes, is ASCII....  So your point is?


>> I'd recommend updating this documentation to say:
>> [...]
>>     A   A byte-wide string with arbitrary binary data, will
>>         be space padded.
>>     
>
> Is that ASCII-space (0x20) or can it be locale or EBCDIC-space (0x40)
> too?
>   

I don't have an EBCDIC machine, sorry, so I can't test and find out.  Do 
you?

I am unaware of any 7-bit or 8-bit locale other than EBCDIC that uses a 
space other than 0x20.

-- 
Glenn -- http://nevcal.com/
===========================
A protocol is complete when there is nothing left to remove.
-- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About