Skip to content

Bug: UnicodeEncodeError when serializing files containing special characters #66

@cdboer

Description

@cdboer

Both errors stem from:

gitlab2prov\service_layer\handlers.py", line 87, in serialize
    print(serialize_graph(graph, cmd.format), file=f)

Example 1

codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f61c' in position 10933: character maps to <undefined>

Example 2

codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f40d' in position 48651: character maps to <undefined>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions