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

linenoise handles backspace incorrectly with Korean character set

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.7.3
    • Component/s: 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.

      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.

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

              Created:
              Updated:
              Resolved: