File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3210,6 +3210,7 @@ The following kinds of rule can appear in the rules file, in any order.
3210
3210
| | |
3211
3211
| -------------------------------------------------| ------------------------------------------------------------------------------------------------|
3212
3212
| [ ** ` source ` ** ] ( #source ) | optionally declare which file to read data from |
3213
+ | [ ** ` encoding ` ** ] ( #encoding ) | optionally declare which encoding the data has |
3213
3214
| [ ** ` separator ` ** ] ( #separator ) | declare the field separator, instead of relying on file extension |
3214
3215
| [ ** ` skip ` ** ] ( #skip ) | skip one or more header lines at start of file |
3215
3216
| [ ** ` date-format ` ** ] ( #date-format ) | declare how to parse CSV dates/date-times |
@@ -3256,6 +3257,19 @@ source Checking1*.csv
3256
3257
3257
3258
See also [ "Working with CSV > Reading files specified by rule"] ( #reading-files-specified-by-rule ) .
3258
3259
3260
+ ## ` encoding `
3261
+
3262
+ ``` rules
3263
+ encoding ENCODING
3264
+ ```
3265
+
3266
+ Specifying ` encoding ` followed by a valid encoding tells HLedger how to convert a
3267
+ csv to be able to make use of it.
3268
+ This is most often useful when getting a csv from a bank as they are sometimes
3269
+ in an old encoding.
3270
+
3271
+ If none is given, ` utf8 ` is assumed.
3272
+
3259
3273
## ` separator `
3260
3274
3261
3275
You can use the ` separator ` rule to read other kinds of
You can’t perform that action at this time.
0 commit comments