Uploaded image for project: 'Swift'
  1. Swift
  2. SR-12769

lldb expression command prints wrong result for characters in the range 0x80-0x9f

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: LLDB for Swift
    • Labels:
      None

      Description

      The expression command always prints "\u{c2}" for unprintable characters in the range "\u{80}"..."\u{9f}", e.g.:
      (lldb) expression "\u{85}"
      (String) $R1 = "\u{c2}"

      It looks as though the buffer it tries to print is utf-8 encoded and it just grabs the first byte.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nsc Nico Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: