hledger/hledger-web/Hledger/Web
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
..
Handler dev:clarify: rename jinferredcommodities to jinferredcommoditystyles 2024-11-02 15:52:07 -10:00
Settings imp:web: more accurate startup messages, eg with --socket [#2127] 2023-12-14 17:58:25 -10:00
Widget feat:csv: add an encoding rule, allowing non-UTF8 CSV to be read [#2319] 2025-02-15 14:48:30 -10:00
App.hs imp: web: guess a more robust base url when --base-url is not used 2024-07-18 10:12:40 +01:00
Application.hs dev:web:docs 2023-12-15 13:58:25 -10:00
Import.hs dev:web: rename Hledger.Web.Foundation to Hledger.Web.App 2023-12-15 13:58:25 -10:00
Main.hs imp: rename ghcdebug build flag to debug, and enable stack traces with it 2024-10-19 18:47:03 -10:00
Settings.hs dev:web:docs 2023-12-15 13:58:25 -10:00
Test.hs feat:csv: add an encoding rule, allowing non-UTF8 CSV to be read [#2319] 2025-02-15 14:48:30 -10:00
WebOptions.hs dev: split debug/ghcdebug flags, comment out the latter for now 2024-10-24 10:44:28 -10:00