Download it now!
Bug 122716 - IMPORT Writer can lose encoding for some multibyte symbols when copy-paste from XLSX/Calc
Summary: IMPORT Writer can lose encoding for some multibyte symbols when copy-paste fr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
Keywords: filter:xlsx
: 123010 (view as bug list)
Depends on:
Blocks: Paste-From-MSO
  Show dependency treegraph
Reported: 2019-01-14 20:56 UTC by Maxim Britov
Modified: 2019-01-29 15:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Really minimal example of issue (4.08 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2019-01-14 20:56 UTC, Maxim Britov

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Britov 2019-01-14 20:56:34 UTC
Created attachment 148317 [details]
Really minimal example of issue

We found files created in MS Office, then open/edit/save in some LO versions.
Files is xlsx with translations Russian/Latvian. Some words have symbol "Š".
When we copy that cells from Calc and then paste to Writer we have got wrong symbol.

"Šampūnas" --->> "Љampūnas"

I trackdown issue to very minimal file. File wrong from point os view Excel, but it show issue without xml noise.

1. Open attached file on LO Calc.
2. Copy A1
3. Create new Writer document
4. Paste. On old, pre 6.0 office, please use Insert as.. and select RTF.
5. You should see "Љampūnas" instead of "Šampūnas".

Tested on,,,, AOo 4.1.6
Comment 1 Maxim Britov 2019-01-15 09:35:32 UTC
Issue looks really more crazy for me :(
On my Linux desktop works fine, but on tested Windows....

1. From this bug copy Šampūnas and paste into Calc
2. Copy in Calc
3. Create new Writer document
4. Paste
5. I always have wrong Љampūnas on Windows and right Šampūnas in my Linux.

Two Windows box: win7 and win10 both LO
Comment 2 Maxim Britov 2019-01-15 09:51:21 UTC
rtf from windows 7 clipboard by clipview.exe tool:

{\fonttbl{\f0\froman\fprq2\fcharset204 Liberation Serif;}{\f1\fprq2\fcharset204 Segoe UI;}{\f2\fprq2\fcharset204 Tahoma;}{\f3\fnil\fprq0\fcharset204 Arial;}{\f4\fprq2\fcharset204 Microsoft YaHei;}}
\ltrpar\f3\fs22\b0\ulnone\strike0\i0\outl0\shad0\f4\f3\fs22\fs22\b0\b0\i0\i0\accnone\olnone {\f3\fs22\b0\i0 \'8aamp\u363\'3fnas}\par\pard\plain
Comment 3 Durgapriyanka 2019-01-15 16:23:00 UTC
Thank you for reporting the bug. I can confirm this bug in 

Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded


Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 2; OS: Windows 6.1; UI render: default; 
Locale: en-US (en_US); Calc: group threaded
Comment 4 Timur 2019-01-28 14:01:23 UTC
*** Bug 123010 has been marked as a duplicate of this bug. ***
Comment 5 Timur 2019-01-28 14:04:15 UTC
Steps - Windows only (so far):
1. create new LibreOffice Calc document
2. Copy this: Šampūnas
3. Paste into Calc
4. Copy this cell
5. Open LibreOffice Writer Document and Paste 
6. You see Љampūnas instead of Šampūnas.

Workaround: paste unformatted text
Comment 6 Maxim Britov 2019-01-28 14:43:17 UTC
(In reply to Timur from comment #5)

> Workaround: paste unformatted text

Yes. Workaround Ctrl + Alt + Shift + V if you work with such symbols.
May be always use workaround, because no more warranty from LibreOffice... :(
Comment 7 Timur 2019-01-29 15:55:00 UTC
*** Bug 123010 has been marked as a duplicate of this bug. ***