diff -r e2625053a0e2 -r a40706f44514 HexEdit/HexEditWidget.py --- a/HexEdit/HexEditWidget.py Sat Jan 16 15:16:24 2016 +0100 +++ b/HexEdit/HexEditWidget.py Sat Jan 16 15:41:59 2016 +0100 @@ -1622,7 +1622,10 @@ if (i + j) < len(byteArray): hexStr += " {0:02x}".format(byteArray[i + j]) by = byteArray[i + j] - if by < 0x20 or by > 0x7e: + if is_Py2 and (by < 0x20 or by > 0x7e): + ch = "." + elif not is_Py2 and \ + (by < 0x20 or (by > 0x7e and by < 0xa0)): ch = "." else: ch = chr(by)