Uploaded image for project: 'tools.reader'
  1. TRDR-47

In strings, octal escapes above 0337 are considered invalid.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Labels:
      None
    • Patch:
      Code and Test

      Description

      Example:

      (clojure.tools.reader/read-string "\"\\340\"")

      Throws an exception:

      ExceptionInfo Octal escape sequence must be in range [0, 377]. clojure.core/ex-info (core.clj:4725)

      The octal number 0340 is less than the octal number 0377. The expected result is:

      "à"

        Attachments

          Activity

            People

            • Assignee:
              bronsa Nicola Mometto
              Reporter:
              atw Alex ter Weele
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: