hledger/Ledger
Sergey Astanin 86fab58e6a Allow UTF8 in ledgers (account names, descriptions).
This patch fixes broken layout of some commands when there is Unicode
text in the ledger file.

I substituted System.IO functions with System.IO.UTF8. Now all strings
are Unicode internally, and take's and length's work correctly.
In particular, add, balance, hist, print and register commands seem
to work correctly; ui is still broken for me, I didn't try web.

I decode command line arguments from UTF8 forcefully, to permit
searches for accounts and descriptions with Unicode (otherwise, it
does not work).

The patch adds an additional dependency: utf8-string.

This patch does not include new test cases.
2009-05-14 20:44:06 +00:00
..
Account.hs nullamt and nullmixedamt 2008-11-22 17:21:49 +00:00
AccountName.hs tests and bugfix for accountNameTreeFrom 2009-03-15 04:02:04 +00:00
Amount.hs be more accurate about checking balanced amounts, don't rely on display precision 2009-05-16 22:54:12 +00:00
Commodity.hs commodity cleanup 2008-10-18 19:30:07 +00:00
Dates.hs that parser is not right, breaks hours period selection 2009-01-23 18:10:17 +00:00
IO.hs refactor, moving generic io functions into Ledger.IO 2009-04-04 08:50:36 +00:00
Ledger.hs namegeddon! conform to new terminology in ledger 3, more or less 2009-04-03 10:58:05 +00:00
LedgerTransaction.hs be more accurate about checking balanced amounts, don't rely on display precision 2009-05-16 22:54:12 +00:00
Parse.hs Allow UTF8 in ledgers (account names, descriptions). 2009-05-14 20:44:06 +00:00
Posting.hs namegeddon! conform to new terminology in ledger 3, more or less 2009-04-03 10:58:05 +00:00
RawLedger.hs add file path field to RawLedger 2009-04-08 03:40:05 +00:00
TimeLog.hs drop TimeLog, it's no longer needed 2009-04-03 11:05:16 +00:00
Transaction.hs namegeddon! conform to new terminology in ledger 3, more or less 2009-04-03 10:58:05 +00:00
Types.hs add file path field to RawLedger 2009-04-08 03:40:05 +00:00
Utils.hs Allow UTF8 in ledgers (account names, descriptions). 2009-05-14 20:44:06 +00:00