Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5280

UTF-8 chars causes console to crash

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.0.3
    • Component/s: Tools
    • Labels:
    • Environment:
      Ubuntu 11.10: Linux 3.0.0-16-generic-pae #29-Ubuntu SMP Tue Feb 14 13:56:31 UTC 2012 i686 i686 i386 GNU/Linux
    • Linux

      Hi,

      When I insert an document to mongo including Swedish chars and read it back using the mongo console, the console crashes saying that non-ascii characters are found. However this seems to not affect neither the REST mongo interface, nor other ways of getting the data out of mongo, but just the terminal console.

      Here are some data to reproduce:

      Sample document:

      { name: "åäö" }

      Code to reproduce:
      > db.users.find()
      error:non ascii character detected

      MongoDB is installed accordingly to the documentation, http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages

      Version data:

      #mongo --version
      MongoDB shell version: 2.0.3

      #mongod --version
      Sat Mar 10 16:49:28 git version: 05bb8aa793660af8fce7e36b510ad48c27439697

      I am sorry if I have misplaced this bug - first time here and couldn't really find an appropriate category for my bug. Please let me know if I can provide any other data.

            Assignee:
            tad Tad Marshall
            Reporter:
            jockster Joakim B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: