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 something like the attempt to interpret the bytes of a 
multi-byte UTF-8 character as multiple characters.


The other thing that can cause this sort of thing to happen is if the 
particular font used does not support the particular characters used 
(few fonts support the entire unicode set). If the font you used in the 
editor supported these characters but the font used in the output window 
did not, it might cause odd looking output, but more commonly some block 
characters rather than the odd pattern you have here. You can 
right-click on the output window and choose "Settings..." to what font 
it's using.


On 5/1/23 11:46, 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 HomeControl - 
╔��������������������������������������������������������������������������������╗


How can I get the correct ascii characters in NB17?  Previous versions 
of NB (e.g. NB12.5) showed this correctly


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:

mLogger.info("╔╗"); 



but I see this in the debug console of NB17:

01-05-2023 17:43:22 INFO HomeControl - 
╔��������������������������������������������������������������������������������╗


How can I get the correct ascii characters in NB17?  Previous versions 
of NB (e.g. NB12.5) showed this correctly




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



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 - 
╔��������������������������������������������������������������������������������╗


How can I get the correct ascii characters in NB17?  Previous versions 
of NB (e.g. NB12.5) showed this correctly


--
Best rgds,
Geert


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: NB17 Extra lines after Run??

2023-05-01 Thread Amn Ojee Uw

Yes! Thank you, it worked.

On 2023-04-29 11:02 a.m., joe foe wrote:
It's due to debug mode. Set  Tools >options>java> verbosity level to 
Normal.


The extra lines won't be output.

On Sat, Apr 29, 2023, 3:42 AM Tim de Vries  wrote:

probably, you've got an ANSIBlock setting your display settings.


You probably need a test method to determine what's real.

Tim


probably  a static {this, that} block within a class within your
classpath.., yes/no? , ...


James

On 2023-04-28 6:15 p.m., Amn Ojee Uw wrote:


Hey folks!

I might have done some tweaking  and being the newbie that I am I
ended up messing up NB17. Now when I Click on Run, I get the
proper output as well as the following lines:

*BUILD SUCCESSFUL (total time: 0 seconds)
Could not load a dependent class (jdepend/textui/JDepend) for
type jdepend
Could not load a dependent class
(javax/media/jai/PlanarImage) for type image
Could not load class

(org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
for type junitlauncher
Could not load a dependent class
(org/tukaani/xz/FilterOptions) for type xzresource
Could not load class
(org.apache.tools.ant.taskdefs.optional.image.ImageIOTask)
for type imageio
Could not load a dependent class
(org/tukaani/xz/FilterOptions) for type xz
Could not load a dependent class (jdepend/textui/JDepend) for
type jdepend
Could not load a dependent class
(javax/media/jai/PlanarImage) for type image
Could not load class

(org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
for type junitlauncher
Could not load a dependent class
(org/tukaani/xz/FilterOptions) for type xzresource
Could not load class
(org.apache.tools.ant.taskdefs.optional.image.ImageIOTask)
for type imageio
Could not load a dependent class
(org/tukaani/xz/FilterOptions) for type xz
*

Anyone here can tell me what changed? Why am I getting all those
lines?

Thanks in advance