Summary: | Import text files with non-".csv" extention | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | PN <pascal.ggl> |
Component: | Spreadsheet | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | awjnorcott, lo_bugs, luuk34, momonasmon |
Version: | 4.2.3.3 release | ||
Hardware: | All | ||
OS: | Linux (All) | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=78731 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | test case |
Description
PN
2014-06-14 08:33:28 UTC
if you select 'File/Open' and you select a '.txt' or a '.prn' file. The Text Import wizard is shown. This is not true, at least in my installation. If I select File->Open, and then chose e.g. the .prn file, it is opened in Writer instead of Calc. I think the .prn file is 'recognized' by LO as a doc, which should not happen if it only contains text. If i rename an odt-file (Writer) to have the extension .prn, than it is also openend by Writer, but a testfile i created meself (with Notepad), opens in Calc. Is it possible to attach the .prn file here? (In reply to comment #2) > If I select File->Open, and then chose e.g. the .prn file, it is opened in > Writer instead of Calc. Even if you do it from inside Calc? Yes, it happens even if I open the file directly from calc. This is in fact the part that I consider a problem, since opening a file from a specific application should not open it in another application, I believe. After some more testing to create a minimal example, I figured out that the file contained a single latin-1 diacritical character (0x81), in a text field, between quotes. Replacing this byte with a regular ASCII code using a hex editor leads to the expected behaviour. I guess UTF8 was expected so that the file seemed "binary", but even then I'd prefer to have the file opened in Calc with this character looking "silly" than having it opened in Writer (Writer, BTW, simply removes the "ΓΌ"). On Sun, Jun 15, 2014 at 10:29 AM, <bugzilla-daemon@freedesktop.org> wrote: > Maxim Monastirsky <momonasmon@gmail.com> changed bug 80016 > <https://bugs.freedesktop.org/show_bug.cgi?id=80016> > What Removed Added CC momonasmon@gmail.com > > *Comment # 4 <https://bugs.freedesktop.org/show_bug.cgi?id=80016#c4> on > bug 80016 <https://bugs.freedesktop.org/show_bug.cgi?id=80016> from Maxim > Monastirsky <momonasmon@gmail.com> * > > (In reply to comment #2 <https://bugs.freedesktop.org/show_bug.cgi?id=80016#c2>)> If I select File->Open, and then chose e.g. the .prn file, it is opened in > > Writer instead of Calc. > Even if you do it from inside Calc? > > ------------------------------ > You are receiving this mail because: > > - You reported the bug. > > Created attachment 101166 [details] test case @PN: Thanks for the info. I'm attaching a test-case for this problem. It opens in Writer because it's detected by libwpd as a WordPerfect 1 file. See Bug 78731 for a similar issue. At Bug 78731 comment 6 there is a comment from Fridrich Strba (the developer of libwpd). It's about WordPerfect 4.2, but probably the same applies to WordPerfect 1. Forgot to close this one (the reason is the same as in Bug 78731). *** Bug 82764 has been marked as a duplicate of this bug. *** *** Bug 85022 has been marked as a duplicate of this bug. *** How is it 'wontfix'? Why the deeply obsolete and obscure format is allowed to completely screw data interchange people do this day? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.