ASCII/UNICODE BUG K=75
See original GitHub issueApache NetBeans version
verified in 14rc4, 13… 12.0
What happened
for (int i=0; i<=127; i++){
System.out.println(i + " " + (char) i);
}
I was running this code above and received the following output:
(I was missing the value 75 of uppercase K) (Netbeans IDE version 12.6)
How to reproduce
see above
Did this work correctly in an earlier version?
No
Operating System
Windows
JDK
17.0.1
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
Yes
Code of Conduct
Yes
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:16 (13 by maintainers)
Top Results From Across the Web
Python3 surprising behavior of identifier being a non-ASCII ...
Python identifiers with non-ASCII characters are subject to NFKC normalisation (1), you can see the effect in the following code:
Read more >ASCII and Unicode quotation marks
If you can use only ASCII's typewriter characters, then use the apostrophe character (0x27) as both the left and right quotation mark (as...
Read more >UnicodeInCode - Error Prone
The problem. Using non-ASCII Unicode characters in code can be confusing, and potentially unsafe. For example, homoglyphs can result in a different method ......
Read more >Showing unicode when enter Non-ASCII characters for labels
Describe the bug It seems there is problem in showing Non-ASCII characters like Persian (fa). For example I transcribed some audio in ...
Read more >Insert ASCII or Unicode Latin-based symbols and characters
Learn how to insert ASCII or Unicode characters using character codes or the Character Map.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve done some debugging. Nothing to do with ANSI coloring and what not. Sorry for bringing that up.
The text
75 K
by coincidence matches what the NetBeans Maven CommandLineOutputHandler seems to think is download progress info from Maven. It is obviously not.The output is skipped for this reason. So there you have it.
The class,
CommandLineOutputHandler
, does a lot of pattern matching on the output from Maven before it presents it in the Output window. Too much for my taste, but I understand why it may be necessary.Not sure what the fix is.
the download progress filter doesn’t work anymore, right? I typically see output like:
which would be one constantly updating line in a shell.
I am wondering if we can just drop the filter. Maven has
-ntp
(--no-transfer-progress
) which might not have existed back when this was written.