CouchDB
  1. CouchDB
  2. COUCHDB-1425

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.5.0
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Environment:

      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.

      1. utf8.c.diff
        0.7 kB
        Sam Rijs

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Jim Klo
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development