Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: None
-
Labels:None
-
Environment:jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (Java HotSpot(TM) Client VM 1.6.0_21) [Windows XP-x86-java]
-
Number of attachments :
Description
Example:
# NOTE: source encoding: UTF-8
File.open('out.txt', 'w:Windows-1252:-') { |f| f.puts '£' }
The resulting output file is in UTF-8 instead of Windows-1252.
If using MRI, the output file is in Windows-1252 as intended.
Could you test the master, please? http://ci.jruby.org/snapshots/master/