On 2011/02/24 02:10 PM, Nikos Chantziaras wrote: > You can't assume the local filesystem uses UTF-8. You need to use > QString::fromLocal8Bit(): > > QDir dir( QString::fromLocal8Bit(dirname) ); I don't understand. Can you tell me why that makes a difference when dirname is not utf8 (/tmp/demo)? Thanks -- Alex