PDA

View Full Version : Problem with windows and accents



esterbonmati
11th February 2009, 10:00
Hi,

I have a problem with user's name in Windows when I call QDir::homePath() and the home path contains accents.

For example, if my Windows user's name is à éïüM `´test it returns ÓÚ´³M `┤test.

How can I obtain my correct user's name?

I'm working with Qt 4.3.

I didn't find information about it.

Thanks!