From: Xavier Noria Date: 2012-10-02T02:37:59+09:00 Subject: Re: \r\n for EOL in windows? JRuby may have some gotcha because these semantics work on many languages (C, Perl, Python, ...) but not in Java. In C printf("\n") is portable, stdio takes care of the translation on Windows, but in Java \n has no translation. In Java the portable way to print a newline is println. I am pretty sure they addressed this years ago though and JRuby provides MRI semantics to the user. Which is the code that is not working? Sent from my iPhone On 01/10/2012, at 19:25, Roger Pack wrote: > Ok thanks for the responses. I've filed a jruby bug since it appears > "\r\n" within the app (not on disk) isn't expected. > Thank you. > -r > > -- > Posted via http://www.ruby-forum.com/. >