;doc: text encoding: mention BOM support [#2189]

This commit is contained in:
Simon Michael 2024-03-29 14:56:57 -10:00
parent 3f184a848a
commit 89d6f4a451

View File

@ -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.