hledger/hledger-lib/Hledger/Reports
Joschua Kesper 5114962b2a feat:csv: add an encoding rule, allowing non-UTF8 CSV to be read [#2319]
Previously, hledger could read CSV files containing non-ascii
characters only if they are UTF8-encoded.  Now there is a new CSV
rule, encoding ENCODING, which allows reading CSV files with other
encodings.

This adds a dependency on the encoding library, which supports fewer
encodings than text-icu but does not require a third-party C library.
To avoid build issues on various platforms, we require version 0.10+.

This adds some use of the ImplicitParams language extension, required
by encoding's API, but only in a small code region.

This also changes the type of Reader's rReadFn; it now takes
a `Handle` rather than a `Text`, allowing more flexibility.
2025-02-15 14:48:30 -10:00
..
AccountTransactionsReport.hs lib: negatePostingAmount -> postingNegateMainAmount 2025-01-29 09:41:51 -10:00
BalanceReport.hs imp: queries: Allow regular expression depth queries 2024-12-03 08:33:21 -10:00
BudgetReport.hs dev: refactor table rendering code 2024-06-12 05:01:48 +01:00
EntriesReport.hs imp:print: support --invert [#2314] 2025-01-27 05:21:36 -10:00
MultiBalanceReport.hs imp: queries: Allow regular expression depth queries 2024-12-03 08:33:21 -10:00
PostingsReport.hs feat:csv: add an encoding rule, allowing non-UTF8 CSV to be read [#2319] 2025-02-15 14:48:30 -10:00
ReportOptions.hs dev: disable doctest testing error output, color breaks it 2024-12-20 08:51:38 -10:00
ReportTypes.hs dev: fix DisplayName's off-by-one indent value, noted in #2246 2024-10-08 23:11:57 -10:00