Announcement

Collapse
No announcement yet.

Hex Compare Report Encoding

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hex Compare Report Encoding

    Hi I noticed something weird about the report output of hex compare.

    in the out put the ascii field includes control characters, I've mainly noticed DEL 0x7f so far. This should be represented as a . or something else.

    In fact as far as I can see the filter seems to be something like

    if (chr<0x20)
    use=''.'
    else
    use=chr


    This is more commonly done as

    if (chr<0x20 || chr >= 0x7f)
    use=''.'
    else
    use=chr



    If there is a wish to use values > 0x7f then it needs ot be possible to choose the character encoding page. i.e. iso vs utf-8 .

    And as 0x7f is a non printable character it shouldn't be used anyway.

    cheers

  • #2
    Forgot to say this is when generating text reports of hex compares.

    Comment


    • #3
      Thanks for the feedback. Our Hex Compare can display the contents of the unprintable characters in the latest release (3.3.5) of BC3, so we do currently preserve them but this can mean other programs can have trouble displaying them. We'll look into other options for a future version.
      Aaron P Scooter Software

      Comment


      • #4
        With a bit more experimenting, I think I see what you mean about 0x7f specifically. This shows in BC3, but as an empty box instead of a '.' or control character graphic. I'll open a tracker entry to investigate this.
        Aaron P Scooter Software

        Comment

        Working...
        X