It seems that Qt doesn't assume utf8 encoding as GTK does so I had to throw in a few encode/decode so the problem should be fixed now.