2jacek: thank you so much! QString::fromUtf8() solved my problem. now it works perfectly!