Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #23207
    Yang Yang
    Participant

    Hello Yutaka,

    I understand that EmEditor is a text editor, but given the latest amazing support of DirectWrite rendering, I cannot help but to propose this idea: isn’t it nice if we can view binary data better in the text mode, showing hex values (rather than relying on the current font to display weird question marks) like what Sublime Text does?

    Sometimes the hex mode is cumbersome when the document is half-text-half-binary, e.g., when checking the document structure of a PDF file. If one can directly see what the “underneath” bytes are (w/o the help of status bar), the life will be somewhat easier.

    Thanks a million for the continuous improvements!

    #23208
    Yutaka Emura
    Keymaster

    Hello Yang Yang,

    How about the Show Control Characters option in the Marks page of configuration properties?

    #23209
    Yang Yang
    Participant

    It’s better, but not by much. Please see the effect of EmEditor vs Sublime (showing a portion of a PDF file):

    EmEditor vs. Sublime

    IMHO, the point of Sublime’s display is, provided that the user is familiar with the “extended ASCII encoding” part of his current code page, all content is crystal clear.

    #23210
    Yutaka Emura
    Keymaster

    Hi Yang Yang,
    It looks that the file was opened with a wrong encoding with EmEditor because the symbol shouldn’t appear. What are those character code value(s)? Can you make sure if you use the same encoding to open the file as the other editor, and use the same font? Can you also please try opening the file with Binary (ASCII view) with EmEditor?
    Thanks,

    #23211
    Yutaka Emura
    Keymaster

    Hi Yang Yang,
    I reproduced the symbols when opened as UTF-8 with EmEditor. Since the binary sequences can’t be decoded with UTF-8, invalid characters appear. Please use the Western European encoding or Binary (ASCII view) to open the file.
    Thanks,

    #23212
    Yang Yang
    Participant

    Good catch! Please see this snapshot for Binary ASCII view:

    binary ASCII

    This view is much better! It’s hard to believe that I’ve only used the Hex view for so long. But is there an acceptable way to memorize these control characters? Thanks again.

    #23213
    Yutaka Emura
    Keymaster

    These background/foreground-color-inversed characters are similar to caret notations except that carets are replaced with inversed representation. Please see :
    https://en.wikipedia.org/wiki/Caret_notation

    This way the control characters are readable while still preserving the width of each character.

    Thanks,

    #23214
    Yang Yang
    Participant

    Wow, thanks a lot for your explanation and the reference link!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.