bugGNU nano - Bugs: bug #42175, replacing goes wrong when cursor...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42175: replacing goes wrong when cursor sits on multibyte character to be replaced

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 23 Apr 2014 08:35:35 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 22 Mar 2015 11:43:42 AM UTC, comment #1: 

Fixed in SVN, r5148.

Benno Schulenberg <bens>
Group administrator
Wed 23 Apr 2014 08:35:35 AM UTC, original submission:  

Type or paste «whoops» into an empty buffer, guillemets included (use a UTF-8 locale).  Then put the cursor on the last guillemet and type:

M-R  »  Enter  "  Enter Y

And see how the right-pointing guillemet has turned into a left-pointing one plus a double quote.  Now put the cursor on the first guillemet and type:

M-R  «  Enter  "  Enter Y

Notice how you are not asked twice whether to replace the «, so the second « really was a figment.  See how both guillemets now have changed into the misencoding marker �, and the w into a double quote.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-23 bens Open/ClosedOpen Closed
    2015-03-22 bens StatusNone Fixed
        Assigned toNone bens
    2015-03-20 bens SummaryReplacing goes wrong when cursor sits on multibyte character to be replaced replacing goes wrong when cursor sits on multibyte character to be replaced

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code