[Libreoffice-bugs] [Bug 106110] UTF-8 text import incorrectly detected as UTF-16 if linebreaks are CRLF

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 19 06:22:36 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=106110

--- Comment #7 from himajin100000 at gmail.com ---
Are you really sure that the encoding is different from UTF-16 without CRLF and
with CR or LF oly?

https://opengrok.libreoffice.org/xref/core/sc/source/ui/dbgui/scuiasciiopt.cxx?r=a5c04cbf#380

https://opengrok.libreoffice.org/xref/core/sc/source/ui/view/viewfun5.cxx?r=18a8cac5#346

It looks to me that these code suggests, regardless of Whatever encoding and
line-separator we use, pasting will open dialog with UTF-16 set as encoding.

It also looks to me whatever encoding you use on your text editor doesn't
affect in what encoding Windows stores string data to its clipboard.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180819/b57519c8/attachment-0001.html>


More information about the Libreoffice-bugs mailing list