Simple code failing - Sanity check please?

Ahoi all

I am trying something very simple but it is failing so could someone
else check me?

Goal: Write a UTF encoded text file with some non-ascii text.

Code: exceedingly simple code which is failing on windows on jruby · GitHub


On Linux, no problem. a UTF-8 encoded file is created with jruby 1.7.1
and MRI.
On Windows with jruby 1.7.1 (version bundled with Torquebox) the text is
gibberish. MRI works correctly.

Could someone else try it on jruby and windows and confirm / refute if
this is a problem with that combination or if I am managing to miss



More testing, have confirmed the issue and posted issue: