[GH-ISSUE #6206] [Bug]: Unicode minus not parsed correctly #51759

Closed
opened 2026-04-30 19:13:32 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ihatetoregister on GitHub (Nov 19, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/6206

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

When generating a CSV file for import from a XLS using Numbers on macOS, the file contained unicode minus instead of ascii minus causing the parsing to only end up with positive numbers. A quick search and replace fixed the issue, but suggest adding parsing for this character as well to make things just work.

  • Unicode minus U+2212 (“−”)
  • ASCII hyphen-minus ("-")

How can we reproduce the issue?

Import the following example CSV:

Date;Text;In/Out;Sum
2025-02-02;Systembolaget;−100,00;900.00
2025-02-02;Systembolaget;-100,00;800.00

Only the second entry is registered as negative.

Where are you hosting Actual?

Desktop App (Electron)

What browsers are you seeing the problem on?

No response

Operating System

Mac OSX

Originally created by @ihatetoregister on GitHub (Nov 19, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/6206 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? When generating a CSV file for import from a XLS using Numbers on macOS, the file contained unicode minus instead of ascii minus causing the parsing to only end up with positive numbers. A quick search and replace fixed the issue, but suggest adding parsing for this character as well to make things just work. * Unicode minus U+2212 (“−”) * ASCII hyphen-minus ("-") ### How can we reproduce the issue? Import the following example CSV: Date;Text;In/Out;Sum 2025-02-02;Systembolaget;−100,00;900.00 2025-02-02;Systembolaget;-100,00;800.00 Only the second entry is registered as negative. ### Where are you hosting Actual? Desktop App (Electron) ### What browsers are you seeing the problem on? _No response_ ### Operating System Mac OSX
GiteaMirror added the transaction importgood first issuebug labels 2026-04-30 19:13:34 -05:00
Author
Owner

@MatissJanis commented on GitHub (Nov 25, 2025):

Can you please check if https://github.com/actualbudget/actual/pull/6247 solves the problem for you?

<!-- gh-comment-id:3577275070 --> @MatissJanis commented on GitHub (Nov 25, 2025): Can you please check if https://github.com/actualbudget/actual/pull/6247 solves the problem for you?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#51759