Created attachment 153406 [details] screenshots 1. create any table with varchar field. 2. add any new records with russian symbols 3. copy entire table (or any query of it) 4. paste it to the calc table way to get around this problem is to save calc table in csv format using CP1252 code page and then reopen it with CP1251 codepage
Created attachment 153407 [details] test base
Created attachment 153409 [details] copy paste db records i cannot reproduce with LO 6.2.6.2 and attached test.odb: - open test.odb - select Tables -> test - select all & copy - open new spreadsheet & paste
Created attachment 153412 [details] screenshot I see no difference but another locale
Created attachment 153413 [details] screenshot changing locale doesn't affect behavior
Created attachment 153414 [details] screenshot change the system locale settings for Java from German to Russian Click Start, then Control Panel Click Clock, Language and Region Windows 10, Windows 8: Click Region The Region and Language options dialog appears. Click the Administrative tab Under the Language for non-Unicode programs section, click Change system locale and select russian language. Click OK Restart the computer to apply the change.
Confirmed with Version: 6.3.0.4 (x64) Build ID: 057fc023c990d676a43019934386b85b21a9ee99 CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; Locale: ru-RU (ru_RU); UI-Language: en-US Calc: threaded Using Paste as HTML produces normal paste. The problem seems to be is that when current system language for non-unicode applications is Russian, the *copy* code in Base produces RTF clipboard content that uses short character codes (not Unicode) to encode characters in current locale charset (like {\ql\fs20\f1\cf0\cb1 \'f1\'f3\'ed\'f3\'eb \'e3\'f0\'e5\'ea\'e0 \'f0\'f3\'ea\'f3 \'e2 \'f0\'e5\'ea\'f3\cell}), and at the same time, does not set any default charset information; then on paste (using RTF by default), the RTF import code treats the no-default-charset RTF as Win1252.
https://gerrit.libreoffice.org/77545
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/61e02561aa659d829a6786609fc57d99fd8652b4%5E%21 tdf#126940: export ansicpg in RTF when copying database It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 39124 has been marked as a duplicate of this bug. ***
*** Bug 130434 has been marked as a duplicate of this bug. ***