This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In xtest, I have a test that inherits from NbTestCase. It tries to print UTF-8 characters to getRef()'s PrintStream, and I want to see those UTF-8 characters in the output file. The problem is that "all characters printed by a PrintStream are converted into bytes using the platform's default character encoding". If there was some way to get at the OutputStream that's inside of the PrintStream object, I could properly wrap that with a new OutputStreamWriter(outStream, "UTF-8"). So, please provide a way to get at the OutputStream that's inside of the PrintStream or provide a way to get a PrintWriter with a user specified encoding.
Add "Alias for Japan Team" in "CC:" field.
Consistent use of the I18N keyword.
NbJUnit has moved to XTest, therefore this issue now belongs to XTest
I guess you can use Logger or new FileWrite(new File(getWorkDir(), "your.log")). Or you can send me a patch.