You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix map tile cache not working on windows for non ASCII cachefolder
This issue was found using the plugin in Subsurface
There cachefolder is configured to use path to current user's AppData
In my case the user name contains non ASCII char (é)
The call to 'toLatin1' trans-coded the char that was then badly
interpreted by QString assignment operator.
See http://doc.qt.io/qt-5/qstring.html#operator-eq-5
'The byte array is converted to Unicode using the fromUtf8() function.'
It resulted in Qt not being able to create the cached files:
'QIODevice::write (QFile, "C:\Users\J?r?mie\AppData\Roaming\
'Subsurface\googlemaps\googlemaps_100-2-12-2046-1362.jpeg"): '
'device not open'
Signed-off-by: Jeremie Guichard <[email protected]>
0 commit comments