1 // Test case for http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194522
4 import java
.nio
.charset
.Charset
;
8 public static void main(String
[] args
) throws Exception
10 Charset c
= Charset
.forName("UTF-8");
11 ByteArrayOutputStream baos
= new ByteArrayOutputStream();
12 PrintWriter pw
= new PrintWriter(new OutputStreamWriter(baos
, c
));