mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
66e12978ba
commit
5ac5f91cd9
@ -763,7 +763,7 @@ class CharsModel(FileCollection):
|
||||
if col == 0:
|
||||
return entry.char
|
||||
if col == 1:
|
||||
return {0xa:'LINE FEED', 0xd:'CARRIAGE RETURN'}.get(entry.codepoint, character_name_from_code(entry.codepoint))
|
||||
return {0xa:'LINE FEED', 0xd:'CARRIAGE RETURN', 0x9:'TAB'}.get(entry.codepoint, character_name_from_code(entry.codepoint))
|
||||
if col == 2:
|
||||
return ('U+%04X' if entry.codepoint < 0x10000 else 'U+%06X') % entry.codepoint
|
||||
if col == 3:
|
||||
|
Loading…
x
Reference in New Issue
Block a user