Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-378

Debugger data dumps must use the format-specified encoding, not just utf-8

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Back End, CLI, Debugger, Usability
    • None

    Description

      Our debugger trace output currently outputs data in text and hex, but assumes utf-8 for the text.

      This needs to be improved to use the currently-specified encoding, and to handle decode errors.

      E.g., suppose you have !!crud!! where crud is not c.r.u.d, but some bytes that won't properly decode as characters. This wants to present in the debugger as

      !!????!!

      where ? is the unicode replacement character.

      I believe newlines and other "moving whitespace" like tabs should also be replaced by a substitution character that says what they are. (Box character with a codepoint written inside it)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: