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

Re: Future Perl development

February 4, 2007 03:43
Re: Future Perl development
Message ID:

> > At least his idea should not work on EBCDIC platforms like IBM z/OS.
> I choose to make UTF-8 the encoding used for strings (some people would say 
> this is the internal encoding and thus should not matter).
> Support for EBCDIC would be in the form that input/output will be converted to EBCDIC.

There are many parts of perl internal code that assume
the unicode encoding should have same octet representations as those
of the native encoding (ASCII to UTF-8 or EBCDIC to UTF-EBCDIC).
For example '\n' in C on EBCDIC platforms is LF in UTF-EBCDIC as well,
that is the internal assumption, while that is not LF in UTF-8.
Your idea requires such conversion at all parts, not only codes for
executions but also the parser and the lexer.
Just input/output conversion must not be enough.

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