Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1425

Emitting UTF-8 chars >= 0xD800 in JS map stops design doc from indexing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.1
    • 1.5.0
    • JavaScript View Server
    • None
    • Mac OS 10.6.8, but not sure that matters.

    Description

      Was trying determine UTF-8 Char collation, using the following Gist: https://gist.github.com/1904807

      It turns out that once the view gets to the document that would emit "\uD800", the view server times out and stops indexing that design document.

      This seems like a bug, since I can 'store' a document with UTF-8 chars >= 0xD800, but one cannot emit a key with that char in the string.

      Attachments

        1. utf8.c.diff
          0.7 kB
          Sam Rijs
        2. couchjs_input.txt
          0.0 kB
          Ilya Khlopotov
        3. main-echo.js
          0.1 kB
          Ilya Khlopotov

        Activity

          People

            iilyak Ilya Khlopotov
            jimklo Jim Klo
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: