config-get and relation-get silently drop values with high-byte characters

Bug #901495 reported by Clint Byrum
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Clint Byrum

Bug Description

juju.hooks.cli.CommandLineClient.format_smart tries to convert all variables into 'str' without specifying a desired output encoding for them.

It seems to me that our desired output encoding should always be utf-8 for "smart".

Related branches

Changed in juju:
status: New → Triaged
status: Triaged → In Progress
importance: Undecided → Medium
assignee: nobody → Clint Byrum (clint-fewbar)
milestone: none → florence
Changed in juju:
milestone: florence → galapagos
Changed in juju:
milestone: galapagos → honolulu
Revision history for this message
Jim Baker (jimbaker) wrote :

Fixed in r544 with merge of charm-format-2 branch

Changed in juju:
status: In Progress → Fix Released
Changed in juju:
milestone: honolulu → galapagos
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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