Answer the question
In order to leave comments, you need to log in
How to combine Unicode characters in Java?
It is required to print the character X (\u0058) with an overslash ( ̅ ). (\u0305). How to combine these two characters?
Answer the question
In order to leave comments, you need to log in
The focus lies in what exactly will draw this line. Those. if you do System.out.println(\u0058\u0305); then the Windows console will show 2 characters sequentially. it works extremely badly with unicode, some other console such as Makovsky or Linux non-standard can show one underlined character as it should. If this is a graphical component, then again it all depends on how well Unicode support is implemented in it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question