Open afrigeri opened 3 months ago
Kart uses U+2400 Symbol for Null
- ␀
- character to indicate a null value - it assumes it's running in an environment where unicode is supported. There may be other unicode characters elsewhere in Kart or in user-data that Kart outputs.
Until and unless we make a Kart option to limit character output to ASCII (if there is sufficient interest), the workaround would have to be modify the environment so that it supports unicode.
Looking around online, the following may help add unicode support to your command line environment:
Let me know if this helps. Which terminal you are using on either platform may be relevant.
Thanks @olsen232 - that is very informative.
The error came from git-shell on windows and on the QGIS plugin. The UnicodeEncodeError
was blocking the conflict display - but we turn around the problem by listing summaries of the conflicts with kart conflicts -s
and solving them one by one.
Today we tried to reproduce the 'NUL' conflict but we were not able to do it. Next time we face that problem we will first try to align the environment (Windows or OSX shell) to utf-8 with the step you suggested (and report here the solution).
Describe the bug Hello,
kart conflicts
for a project returns aUnicodeEncodeError:
. The error is reported in both the QGIS plugin and also from the command line.The repo is shared between Austrian and Italian users.
To Reproduce Steps to reproduce the behaviour:
kart conflicts
Expected behaviour
The list of conflicts is not reported, the user is unable to know which is/are the conflicts.
Output
from the command line:
Version Info