labelme icon indicating copy to clipboard operation
labelme copied to clipboard

[fix] fix a bug when opening a label file containing Unicode characters

Open Leojc opened this issue 2 years ago • 1 comments

Opening a label file using the same encoding when it was saved.

By doing this, labelme can open a label file when it contains Unicode characters.

Leojc avatar Apr 27 '22 07:04 Leojc

I'm thinking that maybe using "utf8" as the only one encoding is not a perfect solution. Maybe we could add an encoding configuration so that people can choose what encoding they want, like "GB18030", "BIG-5", "Shift JIS", etc...

Leojc avatar Apr 27 '22 09:04 Leojc