Bug 166373 - FILEOPEN CSV Apparent faulty input of a field of a .csv file into Calc
Summary: FILEOPEN CSV Apparent faulty input of a field of a .csv file into Calc
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-28 08:39 UTC by oscar Newberry
Modified: 2025-04-28 15:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
a screen shot of the calc actual initial data form of CSV data as observed (220.97 KB, image/jpeg)
2025-04-28 08:44 UTC, oscar Newberry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description oscar Newberry 2025-04-28 08:39:33 UTC
Description:

 The input is ok for date,numeric and text fields but appears to fail by generating odd symbols for a currency field with a leading dollar sign but the cents component appears Ok.  The data was input succesfully into Openoffice 4.1.14 and files of this type could be read by all previous versions of Libre office. I am presently using 25.2.2.2 X86_64 Build 7370d4be9e3cf6031a51beef5...
The data was of the form as successfully read by Libre Writer
26/04/2025,"-15.34","WOOLWORTHS 1080 QUEANBEYAN NSW AU","+6732.34"
26/04/2025,"-18.56","ALDI STORES - QUEANBEY QUEANBEYAN AU","+6747.68"

Steps to Reproduce:
1. It is  bank transaction information data converted to .CSV by my bank 
2.  A sample read by Libre Writer is given and a sample of the fault generated by Libre Calc is given as a screen shot
3. This should be sufficient.  If not please advise

Actual Results:
see jpg file

Expected Results:
see description above


Reproducible: Always


User Profile Reset: No

Additional Info:
I have never submitted a BUG report before and if the sequence of my information is inconvenient I apologise.  I have been using spreadsheets since Lotus 123 in the 70's. I am now 86.

Should the jpg attachment be done after the bug is "filed' rather than "filled"
Comment 1 oscar Newberry 2025-04-28 08:44:00 UTC
Created attachment 200576 [details]
a screen shot of the calc actual initial data form of CSV data as observed
Comment 2 Mike Kaganski 2025-04-28 09:08:52 UTC
(In reply to oscar Newberry from comment #1)

Why do you have that UTF-7 as the encoding ("charset")? I would expect e.g. UTF-8.
Comment 3 raal 2025-04-28 15:42:06 UTC
(In reply to Mike Kaganski from comment #2)
> (In reply to oscar Newberry from comment #1)
> 
> Why do you have that UTF-7 as the encoding ("charset")? I would expect e.g.
> UTF-8.

Interesting, I see UTF-7 in more reports, see bug 166238 and bug 166208. Looks like something wrong in charset detection..
Comment 4 Mike Kaganski 2025-04-28 15:58:24 UTC
(In reply to raal from comment #3)

And also in bug 166211.
Somehow I feel that it's related to bug 152336 and its fix - commit 2feda8ba21acdcf33a9b4ba94742f574c17839bd "Detect charset and separators for csv files".