<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QStandardPaths::standardLocations problem with non-English characters in username]]></title><description><![CDATA[<p dir="auto">Hi all!<br />
I'm using Qt 5.5.1 on Windows 7 64 bits.<br />
I'm trying to get the user data folder using:</p>
<pre><code>QString path = QStandardPaths::standardLocations(QStandardPaths::DataLocation).first();
</code></pre>
<p dir="auto">My windows 7 username is "userñame", with an "ñ", a non-English character.<br />
So path now contains:</p>
<pre><code>"C:/Users/user¤ame/AppData/Local/My Company/My product"
</code></pre>
<p dir="auto">Instead of:</p>
<pre><code>"C:/Users/userñame/AppData/Local/My Company/My product"
</code></pre>
<p dir="auto">When I log in with a user like "Roberto", then I get the path correctly.<br />
I've been reading out there. The guy here seems to have the same problem as me: <a href="https://bugreports.qt.io/browse/QTBUG-38954" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/browse/QTBUG-38954</a><br />
They conclude that's a system misconfiguration, but not sure what kind of misconfiguration?</p>
<p dir="auto">Anyone having problems getting the user data folder with a username with non-English characters?<br />
Is it a Qt issue, or a Windows 7 issue?</p>
<p dir="auto">Thanks!<br />
Robert.</p>
]]></description><link>https://forum.qt.io/topic/62984/qstandardpaths-standardlocations-problem-with-non-english-characters-in-username</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 02:35:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/62984.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Jan 2016 22:30:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QStandardPaths::standardLocations problem with non-English characters in username on Tue, 19 Jan 2016 22:48:52 GMT]]></title><description><![CDATA[<p dir="auto">Can you reproduce that with a minimal project ? Essentially main which prints the value returned by <code>QStandardPaths::standardLocations(QStandardPaths::DataLocation).first();</code>?</p>
]]></description><link>https://forum.qt.io/post/308274</link><guid isPermaLink="true">https://forum.qt.io/post/308274</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 19 Jan 2016 22:48:52 GMT</pubDate></item><item><title><![CDATA[Reply to QStandardPaths::standardLocations problem with non-English characters in username on Tue, 19 Jan 2016 22:38:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> No, this is a Spanish installation.</p>
]]></description><link>https://forum.qt.io/post/308273</link><guid isPermaLink="true">https://forum.qt.io/post/308273</guid><dc:creator><![CDATA[che1404]]></dc:creator><pubDate>Tue, 19 Jan 2016 22:38:04 GMT</pubDate></item><item><title><![CDATA[Reply to QStandardPaths::standardLocations problem with non-English characters in username on Tue, 19 Jan 2016 22:36:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is your Windows version configured in English and you are using Spanish characters ?</p>
]]></description><link>https://forum.qt.io/post/308272</link><guid isPermaLink="true">https://forum.qt.io/post/308272</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 19 Jan 2016 22:36:43 GMT</pubDate></item></channel></rss>