|
|
|
|
Re: Show code point of the current character [message #515586 is a reply to message #515570] |
Fri, 19 February 2010 13:10 |
Ed Merks Messages: 33216 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.03795 seconds