Hi,
In message "Re: ruby-dev summary 17875-17964"
on 02/08/13, Paul Brannan <pbrannan / atdesk.com> writes:
|> * str[n] returns strings whose length is 1.
|
|Won't this cause additional allocations?
Yes. Parhaps the string body can be shared.
|> * Notation '?A' is obsoleted.
|
|a) What would I use instead of ?A, then?
"A"
|b) What issues are there with keeping the ?A notation and instead allowing
|?[utf-8 character here] notation?
?[utf-8 character here] still works.
|c) How can I write my code so that it is compatible both with Ruby 1.6 and
|with the Ruby M17N framework?
Use ?A. It will not be removed, just declared obsoleted.
|> * Encoding conversion framework for strings is introduced.
|> * Encoding conversion framework for IO is introduced.
|
|Can you elaborate on this?
No, we can't. Since I don't have concrete idea yet.
matz.