[Libreoffice-bugs] [Bug 132426] Saving an opened txt with a specific character encoding is overwritten when saved

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 2 07:17:02 UTC 2020


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

Ming Hua <ming.v.hua at qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ming.v.hua at qq.com
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #7 from Ming Hua <ming.v.hua at qq.com> ---
(In reply to AndreasD from comment #2)
> Created attachment 160210 [details]
> 
> This i a filed saved with the option to choose encoding with utf-8 selected
Reproduced with 6.4.4 RC1 using this example on simplified Chinese Windows:
版本: 6.4.4.1 (x64)
Build ID: b50bc319eca5cd5b66fbfe2ebd0d3bd1eed099b5
CPU 线程: 2; 操作系统: Windows 10.0 Build 18363; UI 渲染: GL; VCL: win; 
区域语言: zh-CN (zh_CN); UI 语言: zh-CN
Calc: threaded

The second line of this file is "åäö".  When opened in LO and saved again
(maybe type a character and then delete it to activate the Save button), a
warning dialog pops up and warns that some information can't be saved in Text
format and recommends saving in ODF format instead.  If I choose to save as
text anyway, LO doesn't let me choose encoding and saves to something other
than UTF-8.

On my system I haven't figure out what encoding it's saved yet.  It's different
from what the reporter got in comment #3.  The file there is in ISO-8859-1
encoding (not sure if it can be called ANSI when non-ASCII characters are
involved).  Mine is definitely not ISO-8859-1 encoding.  I also get different
saved files depending on whether I open the original file as "All Files (*.*)"
or "Text - Choose Encoding (*.txt)".

-- 
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/20200502/1c6a3148/attachment.htm>


More information about the Libreoffice-bugs mailing list