Re: Console: ascii characters not shown correctly

2023-05-21 Thread Helmut Leininger
Hi, I did not follow the whole thread, but I could solve similar problems with outputr to stderr / stdout in Netbeans by adding these options in the project configuration / Run / VM Options:  -Dstdout.encoding=utf-8 -Dstderr.encoding=utf-8 Netbeans 17, Java 19 Regards Am 21.05.2023 um

Re: Console: ascii characters not shown correctly

2023-05-21 Thread Geert Vancompernolle
Sorry for my late reply, just back from a business trip. I looked into the referenced pages you gave, applied the System.setOut() method with UTF-8 as parameter for the PrintStream() method like so: System.setOut(new PrintStream(System.out, true, "UTF8")); but it doesn't help.  The only

Re: Console: ascii characters not shown correctly

2023-05-05 Thread Tim de Vries
Are you using ANSI Escape codes for Netbeans Console Output? On 2023-05-01 9:46 a.m., Geert Vancompernolle wrote: I have the following line in my Java application: mLogger.info("╔╗"); but I see this in the

Re: Console: ascii characters not shown correctly

2023-05-03 Thread Neil C Smith
On Mon, 1 May 2023 at 16:47, Geert Vancompernolle wrote: > > I have the following line in my Java application: > > mLogger.info("╔╗"); > > but I see this in the debug console of NB17: > > 01-05-2023 17:43:22 INFO

Re: Console: ascii characters not shown correctly

2023-05-01 Thread Eric J. Schwarzenbach
Those line characters are not ASCII. They are part of some other encodings, including unicode. Those odd characters are suggestive of an encoding mixup, though I'm not sure how you'd manage to get one in this context (perhaps via your logger setup?). The alternating characters suggest

Re: Console: ascii characters not shown correctly

2023-05-01 Thread Amn Ojee Uw
It would be easier to assert the why if you provide the what. Show the code that produces the output and someone here will assert why the output. On 2023-05-01 11:46 a.m., Geert Vancompernolle wrote: I have the following line in my Java application:

Console: ascii characters not shown correctly

2023-05-01 Thread Geert Vancompernolle
I have the following line in my Java application: mLogger.info("╔╗"); but I see this in the debug console of NB17: 01-05-2023 17:43:22 INFO HomeControl -