taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

Replace invalid unicode with U+FFFD in `task import`

Open djmitche opened this issue 10 months ago • 1 comments

The task export from 2.6.2 just sort of blasts out the bytes it finds in *.data, regardless of whether those are valid utf-8 (and thus valid JSON). We can't change behavior of released code, but we can make task import a bit more forgiving, and translate those to U+FFFD (�) in the imported tasks, rather than crashing.

djmitche avatar Apr 03 '24 22:04 djmitche

Blocked on https://github.com/GothenburgBitFactory/libshared/issues/77

djmitche avatar Apr 06 '24 15:04 djmitche