Issue #416: Option to manually set encoding for file cache (blais/beancount)

11 views
Skip to first unread message

chazeon

unread,
Jan 15, 2020, 7:19:26 PM1/15/20
to bean...@googlegroups.com
New issue 416: Option to manually set encoding for file cache
https://bitbucket.org/blais/beancount/issues/416/option-to-manually-set-encoding-for-file

Chenxing Luo:

In an example UTF-8 CSV which contains Chinese character and emoji \(a typical Venmo statement\), `chardet` is not correctly [detect](https://bitbucket.org/blais/beancount/src/c21adfcd90abf4b6b0aed8119530f143c9a5024d/beancount/ingest/cache.py?at=default#lines-90) charset \(Recognized as Windows-1252, Turkish\). And it is difficult to set charset manually. It would be nice to allow manual setting of charset, which is normally known by the user.


Reply all
Reply to author
Forward
0 new messages