How to identify an unusual character in Sublime Text 3

sublime-text-3unicode

I have a file with an unusual Unicode grapheme. I'd like to identify it, either by getting an info window directly in Sublime, or just by listing the codepoint(s) so I can search for them online.

In Vim, I'd use the ga command to view the Unicode codepoint, or possibly g8 to view the bytes, and then google for that to get the name of the character and other relevant information.

Is there a way to get this information in Sublime? An equivalent to Vim's ga would suffice, but a more elaborate solution that shows more information within Sublime itself (so I don't need to google) would be good. I'm open to installing a plugin to achieve this.

Best Answer

If you go to File -> Reopen with Encoding -> Hexadecimal you'll be able to get the hex codepoint from there. Unfortunately, Sublime's built-in hex viewer doesn't include a plain-text counterpart on the side, so unless the character is one of the only ones in the file, you might have a bit of a time with it. Instead, you might want to check out the HexViewer plugin from facelessuser. It's much more of a full-featured hex viewer like you'd find in a standalone program, and should fit your needs quite nicely.

Related Question