Support Ruby 1.9 M17N strings
-----------------------------
Key: JRUBY-1803
URL: http://jira.codehaus.org/browse/JRUBY-1803
Project: JRuby
Issue Type: New Feature
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.1
In Ruby 1.9, String is now aware of its own encoding, and many methods that
used to return Fixnum now return single-character strings. Also, iteration over
characters iterates over single-char strings based on the encoding. This
support leverages Oniguruma heavily, and our version of it would likely
leverage Marcin's Joni port in the same way.
We should support M17N, probably with a switch and by forking the String
implementation into a new class that's loaded only during 1.9 compatibility.
Also, the new M17N string could serve as the base of native support for Rail's
1.2+ unicode support, for which JRuby users must currently use the pure-ruby
version (which is likely much slower).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email