mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
d5a4605d2a
Summary: - Using a sample of data was causing poor detection if the sample were cut mid-character. Switch to using line-based detection. - Add a simple option for changing encoding. No convenient UI is offered since config UI is auto-generated, but this at least makes it possible to recover from bad guesses. - Upgrades chardet library for good measure. - Also fixes python3-building step, to more reliably rebuild Python dependencies when requirements3.* files change. Test Plan: Added a python-side test case, and a browser test that encodings can be switched, errors are displayed, and wrong encodings fail recoverably. Reviewers: alexmojaki Reviewed By: alexmojaki Differential Revision: https://phab.getgrist.com/D3979 |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
import_csv_test.py | ||
import_csv.py | ||
import_json_test.py | ||
import_json.py | ||
import_utils.py | ||
import_xls_test.py | ||
import_xls.py | ||
register.py | ||
test_imports.py |