------art_28006_6476170.1151334318362
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 6/19/06, Yukihiro Matsumoto <matz / ruby-lang.org> wrote:
>
> |- at present time Ruby parser can parse only sources in ASCII compatible
> |encoding.  Would it change?
>
> No.  Ruby would not allow scripts in EBCDIC, nor UTF-16, although it
> allows processing of those encoding.
>
>
And what about minilanguages, incorporated in Ruby: regexp patterns,
sprintf, strftime patterns etc.?
Regexps syntax uses several metachars (  []{}()+-*?.\: ) and  latin letters
- lower and upper.
But there are charsets/encodings which don't have some of them, e.g.:
GB_2312-80 has none of them, JIS_X0201 doesn't have backslash, ebcdic-cp-ar1
doesn't have backslash, square and curly brackets.
So, regexp patterns can't be constructed for these charsets/encodings.

------art_28006_6476170.1151334318362--