I18n ARGV.shift converts to latin1 text while MRI ruby returns the string
unchanged
-----------------------------------------------------------------------------------
Key: JRUBY-2764
URL: http://jira.codehaus.org/browse/JRUBY-2764
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.2
Environment: ~$ uname -a
Linux am-desktop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686
GNU/Linux
~$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
~$ jruby -v
ruby 1.8.6 (2008-05-28 rev 6586) [i386-jruby1.1.2]
Reporter: Alexander Mikhailian
~$ LANG=en_IE.UTF-8 ruby -e "print ARGV.shift" "à"|xxd
0000000: c3a0 ..
~$ LANG=en_IE.UTF-8 jruby -e "print ARGV.shift" "à"|xxd
0000000: e0 .
--
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