[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/26760] wrong default encoding when writing to file
From: |
konqueror at gmx dot de |
Subject: |
[Bug classpath/26760] wrong default encoding when writing to file |
Date: |
19 Mar 2006 15:46:50 -0000 |
------- Comment #1 from konqueror at gmx dot de 2006-03-19 15:46 -------
This testcase has the same problem and dont writes to a file but to stdout.
import java.io.*;
public class OutputTest
{
public static void main(String[] args) throws Exception
{
PrintWriter writer = new PrintWriter(System.out);
writer.write("\u00ae\u00ae\u00ae\u00ae\u00ae\u00ae");
writer.close();
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26760