[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 May 17 09:41:52 UTC 2020


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

--- Comment #14 from Mike Kaganski <mikekaganski at hotmail.com> ---
I suggest to close it NOTABUG. This is something about wrong expectations. OP
expects that when pasting, the text has the same encoding as when it's copied
in original program. But that's incorrect, as himajin100000 and Regina
rightfully note in comment 7 and comment 9. The expectation that changing
UTF-16 to UTF-8 on paste (step 5 in comment 0) would result in "correct"
behaviour is also wrong, and step 6 shows that. The bottom line in the
description was:

> If you don't touch anything and the text doesn't include any UTF-8 character
> combinations which translate to an UTF-16 character, nothing happens.
> However until I noticed this problem, sometimes I had strange characters in
> my text imports, which might have been caused by this problem. I can't provide
> any specific text string to trigger that problem but I am pretty sure it exists.

... which is mixing two completely unrelated things: OP has some unspecified
problem, and suspects that it has something with the observed inconsistencies
between OP's expectations and the correct behaviour. The real problem is
completely unrelated.

-- 
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/20200517/fa9b2126/attachment.htm>


More information about the Libreoffice-bugs mailing list