regression from 6.0
Steps to Reproduce:
1. open attached file in Calc
xml is not imported
User Profile Reset: No
Created attachment 149387 [details]
Created attachment 149388 [details]
printscreen from LO 6.0
This seems to have begun at the below commit.
Adding Cc: to Kohei Yoshida ; Could you possibly take a look at this one?
author Kohei Yoshida <firstname.lastname@example.org> 2017-12-07 21:27:20 -0500
committer Kohei Yoshida <email@example.com> 2017-12-18 02:31:24 +0100
commit ca1a583e96f832797bf638d0b0a37840d35af5f9 (patch)
parent 152c79ee2be2374334202dc738a8f011e47845c7 (diff)
Remove code duplicates.
Tested-by: Jenkins <firstname.lastname@example.org>
Reviewed-by: Kohei Yoshida <email@example.com>
error at command line
1:1: ��<?xml version='1.0'?>
malformed_xml_error: unsupported encoding. only 8 bit encodings are supported
Build ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: kde4;
Locale: nl-BE (en_US.UTF-8); Calc: group threaded
Build ID: 5b2e38e0cfc7006d6982f741cf158a8a98dc8630
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3;
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Created attachment 149840 [details]
On pc Debian x86-64 with master sources updated, I could reproduce this.
I noticed strange logs like:
MWAWHeader::constructHeader: find a potential MacPaint file
Also, is it on purpose that the file has xls extension whereas it's an xml file?
This file is encoded in big-endian UTF-16, not the usual UTF-8 encoded ones. I'll see if I can handle this on the orcus side.
*** Bug 124580 has been marked as a duplicate of this bug. ***
Orcus has been upgraded on master, and with that, this issue is no longer reproducible.
Build ID: cbe9601e5972ec1c466311e0b148a9fbe8cda4d1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
@Kohei, thanks for fixing this issue!
@Kohei, do you plan to backport it to 6.3 branch ?
@Xisco, Nope, no backporting plan, as the change is rather big, and involves more than just the bug fix.