[Bluej-discuss] Problems with Console window

Davin McCall davmac at bluej.org
Wed Mar 8 01:22:17 GMT 2006


Hi Rudolf

We've changed the encoding of the terminal to UTF-8 in BlueJ version 
2.1.0 and up (previously the encoding used was whatever java thought was 
the system default). This is to allow printing of characters not 
representable using the system encoding.

To print to the console you need to do:

//Writer w = new OutputStreamWriter(System.out, "UTF-8");//

... and then use the writer to output text to the console.

Davin


Rudolf PECINOVSKÝ wrote:
> In new version of BlueJ I have problem with applications, which write 
> in the concole window. 
>  
> In version 2.0.5 the everything was all right:
>  
> In version 2.1.2 I obtain:
>  
> How can I correct it?
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20060308/6e8540d2/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 10772 bytes
Desc: not available
Url : http://lists.bluej.org/pipermail/bluej-discuss/attachments/20060308/6e8540d2/attachment-0002.jpe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 10666 bytes
Desc: not available
Url : http://lists.bluej.org/pipermail/bluej-discuss/attachments/20060308/6e8540d2/attachment-0003.jpe


More information about the bluej-discuss mailing list