Uploaded image for project: 'ClojureScript'
  1. CLJS-133

reader/read-string produces malformed keywords in IE9

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects versions: None
    • Fix versions: None
    • Labels:
    • Environment:

      Windows 7 x86, MSIE 9, Jetty

      Description

      the following call: (reader/read-string "{:status :ok}") produces

      {"\uFFFD'status" "\uFFFD'ok"}

      which differs from expected {:status :ok}
      the server inserts proper content-type (utf-8) header for all javascript files

      the problem disappears if unicode special characters are manually replaced with their escaped equivalents ("\uFDD0") in cljs.core.keyword function in the compiled core.js file
      it doesn't disappear when call to the str_STAR_ function is replaced to the concatenation operators, which suggest that the function works correctly and adds some mystery to the problem

      currently I have no possibility to reproduce the problem on other system, so I'm not certain in all of the aspects

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: