I am developing a Qt5 based app that needs to display exotic unicode characters in a QTreeView. However, I am suffering inconsistent behaviour that I just cannot understand.