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

linenoise handles backspace incorrectly with Korean character set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 2.7.3
    • None
    • Shell
    • ALL
    • Hide

      Open mongo shell.
      Insert multi-byte sequence as a find document such as:

      > db.item.find({'type':"한글블라블라블라"})

      Move the cursor to a few characters before the terminating quotation and hit backspace.

      The terminating quotation will disappear.

      Show
      Open mongo shell. Insert multi-byte sequence as a find document such as: > db.item.find({'type':"한글블라블라블라"}) Move the cursor to a few characters before the terminating quotation and hit backspace. The terminating quotation will disappear.

    Description

      Typing a backspace sequence within a string containing the Korean character set will incorrectly mutate the string in the shell. For example, if editing a string within a set of quotations, the terminating quotation may disappear.

      This may affect more character sets than Korean.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              christian.hergert@10gen.com Christian Hergert
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: