GNU TeXmacs - Bugs: bug #61228, Pasting UTF-8 diacritic characters...
You are not allowed to post comments on this tracker with your current authentication level.
bug #61228: Pasting UTF-8 diacritic characters from clipboard breaks their encoding when document language is localized
Submitter: | Piotr Henryk Dabrowski <dabrowski> | ||
Submitted: | Sun 26 Sep 2021 09:22:46 PM UTC | ||
Category: | Editor | Priority: | 5 - Normal |
Item Group: | Error | Status: | Fixed |
Privacy: | Public | Assigned to: | vdhoeven |
Originator Name: | Open/Closed: | Closed | |
Release: | None | Release: | 2.1 |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Sun 06 Nov 2022 09:33:58 PM UTC, comment #5: |
Joris van der Hoeven <vdhoeven> |
Fri 23 Sep 2022 08:45:53 AM UTC, comment #4: I tried the suggestion in #1 and it works. |
Zoltan Kovacs <kovzol> |
Sun 14 Nov 2021 08:53:54 AM UTC, comment #3: @Joris van der Hoeven
|
Piotr Henryk Dabrowski <dabrowski> |
Wed 10 Nov 2021 10:42:31 AM UTC, comment #2: Could you please tell us what you have in 'Edit -> Preferences -> Convert -> Verbatim -> Character encoding' ?
|
Joris van der Hoeven <vdhoeven> |
Tue 28 Sep 2021 08:58:42 AM UTC, comment #1: Yes, in edit_select.cpp, selection_paste calls selection_decode, which, when the text language is Polish, Croatian, Czech, Hugarian, Slovak or Slovene, assumes the clipboard content is encoded Iso Latin 2, and performs a conversion to cork. For other languages, the text is not transcoded at that point and we get the expected characters.
|
Philippe Joyez <pjoyez> |
Sun 26 Sep 2021 09:22:46 PM UTC, original submission:
1. Set TeXmacs document language to Polish (default with UI configured to Polish)
|
Piotr Henryk Dabrowski <dabrowski> |
Depends on the following items: None found
Items that depend on this one: None found
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 9 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2022-11-06 | vdhoeven | Status | Confirmed | Fixed | |
Assigned to | fpoulain | vdhoeven | |||
Open/Closed | Open | Closed | |||
2022-09-23 | kovzol | Attached File | - | Added fix-61228.patch, #53742 | |
2021-11-10 | vdhoeven | Assigned to | None | fpoulain | |
2021-09-28 | pjoyez | Status | None | Confirmed | |
2021-09-26 | dabrowski | Attached File | - | Added polish-diacritic-characters.tm, #51970 | |
Attached File | - | Added polish-diacritic-characters-bug.png, #51971 | |||
Attached File | - | Added polish-diacritic-characters.txt, #51972 |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in revision 14085.
I added iso-8859-2 as one of the possible character encodings in order to make it possible to keep the old behavior when needed.
By default, we now use unicode, as suggested in the patch.