[SERVER-14399] linenoise handles backspace incorrectly with Korean character set Created: 30/Jun/14  Updated: 10/Dec/14  Resolved: 23/Jul/14

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 2.7.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Christian Hergert Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-6086 Unicode/UTF-8 in the shell needs to h... Closed
Operating System: ALL
Steps To Reproduce:

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.

Participants:

 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.



 Comments   
Comment by Daniel Pasette (Inactive) [ 23/Jul/14 ]

I think this is a duplicate of SERVER-6086, no?

Generated at Thu Feb 08 03:34:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.