Handle encoding of the options returned by ConfigGlue

Bug #818197 reported by Alejandro J. Cura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Critical
Diego Sarmentero

Bug Description

The command line arguments in sys.argv are always of type "str", even in windows, where they are encoded with "mbcs".
We should verify if ConfigGlue also returns "str" when getting the arguments from the command line or from the config files, and convert them to the encoding that syncdaemon expects (utf-8).
This will be needed if the user passes in a parameter to syncdaemon using non-ascii characters, both from the command line or from a config file.

Related branches

Changed in ubuntuone-client:
importance: High → Medium
summary: - Encoding of the options returned by ConfigGlue
+ Handle encoding of the options returned by ConfigGlue
Changed in ubuntuone-client:
status: Confirmed → Triaged
importance: Medium → Low
assignee: Natalia Bidart (nataliabidart) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Changed in ubuntuone-client:
importance: Low → Critical
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Alejandro J. Cura (alecu)
Changed in ubuntuone-client:
status: Triaged → In Progress
tags: added: u1-windows
tags: removed: u1-windows-cleanups
Changed in ubuntuone-client:
status: In Progress → Fix Released
Changed in ubuntuone-client:
assignee: Alejandro J. Cura (alecu) → Diego Sarmentero (diegosarmentero)
status: Fix Released → In Progress
Changed in ubuntuone-client:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 2.99.0
dobey (dobey)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.