Page 1 of 1

UTF-8

Posted: 07 Apr 2015 07:29
by Erquint
Seriously, why isn't there UTF-8 character decoding support?
Having to pair HxD with other editors to edit some files I'm working on right now which kinda defeats the purpose.

Also, on a side note, it's impossible to search for something like "关闭" other than by its hex value. Seems like an issue.

Re: UTF-8

Posted: 08 Apr 2015 16:17
by Maël
There are similar requests already. You can see there why it is not trivial to implement (and usually buggy in other implementations).
It's impossible to search for something like "关闭" other than by its hex value.
For UTF16-LE (the only Unicode encoding supported in HxD currently) this works fine here. Make sure you are in the text tab and checked "Unicode characters".

The hexadecimal representation is not unique, it depends on the encoding/character set. For CJK characters there are many possible encodings, among them BIG-5, UTF-8, UTF16-LE. Your characters would correspond to "73 51 ED 95" in UTF-16LE.