Describe the bug
The Model Tree dialog accepts invalid UTF-8 in LDraw files and seeming treats it as Latin 1. It may or may not have problems with actual UTF-8 text.
To Reproduce
Steps to reproduce the behavior:
Open /parts/s/2902s01.dat as of 2022-02-22.
Search for "Cran" in the Model Tree.
Notice the line displays as 0 Cran creusé even though the last character is not valid UTF-8.
Expected behavior
Invalid UTF-8 should have some kind of indication that it is invalid (preferably the � character).
Describe the bug The Model Tree dialog accepts invalid UTF-8 in LDraw files and seeming treats it as Latin 1. It may or may not have problems with actual UTF-8 text.
To Reproduce Steps to reproduce the behavior:
0 Cran creusé
even though the last character is not valid UTF-8.Expected behavior Invalid UTF-8 should have some kind of indication that it is invalid (preferably the � character).