clerk/journal/parser/testdata/transaction_with_unicode_commodity_symbols.txtar (view raw)
| 1 | -- input -- |
| 2 | 2024-01-01 groceries |
| 3 | expenses:food €10.00 |
| 4 | expenses:food £5.00 |
| 5 | expenses:food ₹700.00 |
| 6 | assets:checking |
| 7 | -- expect -- |
| 8 | Journal |
| 9 | Transaction j:1:1-6:1 |
| 10 | Date: 2024-01-01 |
| 11 | Payee: "groceries" j:1:12-2:0 |
| 12 | Posting j:2:1-3:1 |
| 13 | Account j:2:5-2:18 |
| 14 | SubAccount: "expenses" j:2:5-2:13 |
| 15 | SubAccount: "food" j:2:14-2:18 |
| 16 | Amount j:2:20-2:20 |
| 17 | Quantity: 10 |
| 18 | Commodity: "€" |
| 19 | CommodityPos: Before |
| 20 | HasSpace: false |
| 21 | Precision: 2 |
| 22 | Decimal: "." |
| 23 | Posting j:3:1-4:1 |
| 24 | Account j:3:5-3:18 |
| 25 | SubAccount: "expenses" j:3:5-3:13 |
| 26 | SubAccount: "food" j:3:14-3:18 |
| 27 | Amount j:3:20-3:20 |
| 28 | Quantity: 5 |
| 29 | Commodity: "£" |
| 30 | CommodityPos: Before |
| 31 | HasSpace: false |
| 32 | Precision: 2 |
| 33 | Decimal: "." |
| 34 | Posting j:4:1-5:1 |
| 35 | Account j:4:5-4:18 |
| 36 | SubAccount: "expenses" j:4:5-4:13 |
| 37 | SubAccount: "food" j:4:14-4:18 |
| 38 | Amount j:4:20-4:20 |
| 39 | Quantity: 700 |
| 40 | Commodity: "₹" |
| 41 | CommodityPos: Before |
| 42 | HasSpace: false |
| 43 | Precision: 2 |
| 44 | Decimal: "." |
| 45 | Posting j:5:1-6:1 |
| 46 | Account j:5:5-6:0 |
| 47 | SubAccount: "assets" j:5:5-5:11 |
| 48 | SubAccount: "checking" j:5:12-6:0 |
| 49 | Amount: <elided> |