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

--- Comment #14 from Eike Rathke <er...@redhat.com> ---
(In reply to Julien Nabet from comment #13)
> This bug concerns dbf but what about the other extensions?
> I mean how csv/CSV files are managed? Indeed I suppose we encounter the same
> issues:
> - open csv/CSV files in Calc or Base
> - csv/CSV files may be on Windows, Linux, network shares, etc.
There's no problem at least with Calc opening .CSV (on Linux); also, .DBF opens
fine in Calc, i.e. the attached sample_base_bug.DBF
If there's still a problem it seems to be Base-only.

> Eike: I noticed the function lcl_MayBeAscii in
> https://opengrok.libreoffice.org/xref/core/sc/source/ui/unoobj/scdetect.
> cxx#154 but it's disabled.
> Any thoughts or any idea who may help here?

It was disabled when moving to the new format detection framework, see
https://cgit.freedesktop.org/libreoffice/core/commit/?id=e69aa9572bb2206313cd2aa7edd13da91460f2c4

Note that was *after* this old bug was reported and this bug has nothing to do
with Calc. Also, lcl_MayBeAscii() attempts to detect Unicode|Binary vs possible
ASCII (or other one-byte encoded) text and isn't related here. More of interest
could be the lcl_MayBeDBase() right below that tries to identify whether file
content could be a dBase format.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to