Bug 9120 - Scanner writing/reading prefs to/from wrong folder on Windows with localized system paths
: Scanner writing/reading prefs to/from wrong folder on Windows with localized ...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Installer
: 7.2
: PC Windows XP
: P3 normal (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks: 8583
  Show dependency treegraph
 
Reported: 2008-08-12 03:38 UTC by Michael Herger
Modified: 2008-08-12 06:15 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2008-08-12 03:38:42 UTC
On systems where Windows uses localized paths with non-latin character (eg. Czech) the scanner (and probably other parts) are accessing wrong folders, failing to read some prefs.

I haven't found the exact issue here. But as soon as the scanner is launched, a prefs folder is created in the wrong place, with the non-latin character being broken. 

There's also a Cache/templates folder being created in both places. 

This is probably the reason for the scanner failure in bug 8583.
Comment 1 Michael Herger 2008-08-12 06:15:34 UTC
change 22535 - on Windows use short file name when passing prefs path to scanner to prevent encoding issues.

Please note that this does not prevent creation of the Cache folder, but only fixes the (more important) prefernce file issue with the scanner.