[kmymoney] [Bug 521760] CSV Import ignores all decimal separators regardless of format or import setting

Thomas Baumgart bugzilla_noreply at kde.org
Thu Sep 17 08:00:14 BST 2026


https://bugs.kde.org/show_bug.cgi?id=521760

Thomas Baumgart <thb at net-bembel.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/offi |https://invent.kde.org/offi
                   |ce/kmymoney/-/commit/054075 |ce/kmymoney/-/commit/603458
                   |df537cc7ab9343ea293910c1bae |a0c436983ea1783fb25098d0d70
                   |93d5550                     |8f781d2

--- Comment #21 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 603458a0c436983ea1783fb25098d0d708f781d2 by Thomas Baumgart.
Committed on 16/09/2026 at 12:20.
Pushed by tbaumgart into branch '5.2'.

Fix decimal symbol detection in CSV parser

The reported problem most likely occurred when the locale has different
settings
for the decimalSymbol in LC_NUMERIC and LC_MONETARY. Also, the regular
expression did not do what the adjacent comment suggested it would do.
FIXED-IN: 5.2.3
(cherry picked from commit 054075df537cc7ab9343ea293910c1bae93d5550)

M  +2    -2    kmymoney/plugins/csv/import/core/csvimportercore.cpp
M  +7    -5    kmymoney/plugins/csv/import/core/csvutil.cpp
M  +49   -2    kmymoney/plugins/csv/import/core/tests/parsedata-test.cpp
M  +2    -2    kmymoney/plugins/csv/import/core/tests/parsedata-test.h
M  +7    -5    kmymoney/plugins/csv/import/core/tests/symbol-test.cpp
M  +5    -4    kmymoney/plugins/csv/import/investmentwizardpage.cpp

https://invent.kde.org/office/kmymoney/-/commit/603458a0c436983ea1783fb25098d0d708f781d2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list