|
|
|
|
Re: Show code point of the current character [message #515586 is a reply to message #515570] |
Fri, 19 February 2010 13:10 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33205 Registered: July 2009 |
Senior Member |
|
|
Bob,
Java's character representation is effectively like UTF-16. You'd need
to use Java itself to deal with the relationship between surrogate pair
characters and the code point they represent, i.e.,
Character.isHighSurrogate/isLowSurrogate, and methods like
Character.codePointAt or the corresponding String methods dealing with
code points.
Bob Roberts wrote:
> When I open a utf-8 encoded file in eclipse, ideally I'd like it to
> show me the codepoint (e.g. U+0660) of the character the cursor is
> placed on. Or at least, give me a way to find out its codepoint.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.05103 seconds