Forum: JRuby Reading utf-8 on windows

Posted by Matt Hauck (Guest)
on 2013-01-18 10:47
(Received via mailing list)
I am having a strange problem after upgrading to jruby 1.7.2. Trying to 
get the specs to pass, but they're failing on some utf-8 file 
reading/writing. The data is a valid_encoding as a string, but when I 
write it to a file and then read it back it is no longer a 
valid_encoding. The same code works fine on a mac, and it worked fine on 
windows before on jruby 1.6.5.1.

I tried to reproduce with a trivial case but was not able to. Any ideas 
what might be going on here?
Posted by Matt Hauck (Guest)
on 2013-01-18 10:59
Attachment: utf8.rb (971 Bytes)
(Received via mailing list)
Actually scratch that. I do have a trivial example.

--
Matt Hauck
Posted by Jeffrey Jones (Guest)
on 2013-01-18 11:02
(Received via mailing list)
I have come across encoding trouble with JRuby on Windows this week:

https://github.com/jruby/jruby/issues/502
Posted by Roger Pack (rogerdpack)
on 2013-02-19 22:55
Jeffrey Jones wrote in post #1092767:
> I have come across encoding trouble with JRuby on Windows this week:
>
> https://github.com/jruby/jruby/issues/502

appears fixed in git master?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.