armory3d / armortools

3D Content Creation Tools
https://armorpaint.org
Other
3.17k stars 332 forks source link

Reading non UTF-8 files brings in an invalid state #1542

Closed MathemanFlo closed 1 year ago

MathemanFlo commented 1 year ago

If the user tries to import this (ANSI encoded) file: error_example.txt ArmorLab (as well as ArmorPaint,...) switches to a invalid state and a stderror is produced due to a invalid code point. stderr.txt

luboslenco commented 1 year ago

Will no longer crash but only displays an error for now. Thanks for report. https://github.com/armory3d/armortools/commit/5759780e09060624d92389e3a8edca6b9eeabad0