Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: JRuby 1.3, JRuby 1.7.0.RC1
-
Fix Version/s: None
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:Kubuntu linux
-
Number of attachments :
Description
Having a "special" character on a line (such as £ ¤ §) causes Jirb to terminate immediately with exit code 0 (checked from bash with echo $?)
Having the same character on a single line i a script file run with "jruby", instead gives a syntax error:
:1: /home/larsw/tmp/jirbbug.rb:1: Invalid char `\243' ('£') in expression (SyntaxError)
For what it's worth, this also happens with ruby 1.9.x. 1.8.x irb doesn't accept these characters as input.