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

Re: Future Perl development

From:
SADAHIRO Tomoyuki
Date:
February 4, 2007 03:43
Subject:
Re: Future Perl development
Message ID:
20070204203035.8B8A.BQW10602@nifty.com

> > 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.

Regards,
SADAHIRO Tomoyuki





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