Skip to content

Replace invalid unicode with U+FFFD in task import #3333

@djmitche

Description

@djmitche

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic:encodingsIssues related to character encodings like UTF-8 and Latin-1

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions