Fix T54477: Broken utf8 strings in old .blend files
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 3 Apr 2018 13:50:49 +0000 (15:50 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 3 Apr 2018 14:03:11 +0000 (16:03 +0200)
commit96f565b380a8552e91151b9879746a1992283a35
tree8b2f7ba4f850ca60788acb79e9a39722c12e56bf
parent601835cd3130e4a1a039ed7d30ab9e38e9c4db5f
Fix T54477: Broken utf8 strings in old .blend files

Back in the days (2.4x and before), it was rather easy to get some
invalid utf-8 strings in Blender. This is totally breaking modern code,
so this commit adds a simple 'check & fix strings' operator, available
from the main File menu.
release/scripts/startup/bl_operators/file.py
release/scripts/startup/bl_ui/space_info.py