Skip to content

Commit

Permalink
;doc: text encoding: mention BOM support [#2189]
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Mar 30, 2024
1 parent 3f184a8 commit 89d6f4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hledger/hledger.m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ For more about how to do that on your system, see [Common tasks > Setting LEDGER
## Text encoding

Data files containing non-ascii characters must use UTF-8 encoding.
An optional [byte order mark (BOM)](https://www.unicode.org/faq/utf_bom.html#BOM) is allowed, at the beginning of the file (only).

Also, your system should be configured with a locale that can decode UTF-8 text.
On some unix systems, you may need set the `LANG` environment variable, eg.
You can read more about this in [Unicode characters](#unicode-characters), below.
Expand Down

0 comments on commit 89d6f4a

Please sign in to comment.