Page MenuHome

Stop stripping some utf-8 characters
Closed, ArchivedPublic


I have made a little patch that stops blender from deleting some utf-8 characters (ščťžé) when writing them into game property field(for example). Now, instead of deleting theese characters, blender console just displays a warning: non-standard utf-8 character.

It is just a quick fix, I don´t have time for anything more. I may try to fix rendering of theese characters s after new year.



Event Timeline

fix in the fix - added \n at the end of warning so when displaying warning multiple times, It will not be in the same line

rejecting this patch.

non-utf8 needs to be stripped else python cannot support these strings.

It is possible to convert non-utf8 into utf8, so I could only accept a patch that does this, rather then just disabling the stripping.