{"action":"created","issue":{"url":"https://api.github.com/repos/hgrecco/pint/issues/272","labels_url":"https://api.github.com/repos/hgrecco/pint/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/hgrecco/pint/issues/272/comments","events_url":"https://api.github.com/repos/hgrecco/pint/issues/272/events","html_url":"https://github.com/hgrecco/pint/issues/272","id":75311482,"number":272,"title":"Print delta_degC","user":{"login":"mankoff","id":145117,"avatar_url":"https://avatars.githubusercontent.com/u/145117?v=3","gravatar_id":"","url":"https://api.github.com/users/mankoff","html_url":"https://github.com/mankoff","followers_url":"https://api.github.com/users/mankoff/followers","following_url":"https://api.github.com/users/mankoff/following{/other_user}","gists_url":"https://api.github.com/users/mankoff/gists{/gist_id}","starred_url":"https://api.github.com/users/mankoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mankoff/subscriptions","organizations_url":"https://api.github.com/users/mankoff/orgs","repos_url":"https://api.github.com/users/mankoff/repos","events_url":"https://api.github.com/users/mankoff/events{/privacy}","received_events_url":"https://api.github.com/users/mankoff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-05-11T18:19:28Z","updated_at":"2015-12-22T03:31:41Z","closed_at":"2015-12-22T03:31:41Z","body":"It would be nice to be able to print `degree` units.\r\n\r\n```python\r\n>>> c = ureg.Quantity(1, ureg.delta_degC)\r\n>>> print c\r\nTraceback (most recent call last):\r\n  File \"<ipython-input-73-8e698a6f794d>\", line 1, in <module>\r\n    print c\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\u0394' in position 2: ordinal not in range(128)\r\n\r\n> <ipython-input-73-8e698a6f794d>(1)<module>()\r\n----> 1 print c\r\n\r\nipdb> \r\n>>> \r\n```\r\n\r\nI have `default_format` set to `~`. Should it be something different?"},"comment":{"url":"https://api.github.com/repos/hgrecco/pint/issues/comments/166494809","html_url":"https://github.com/hgrecco/pint/issues/272#issuecomment-166494809","issue_url":"https://api.github.com/repos/hgrecco/pint/issues/272","id":166494809,"user":{"login":"hgrecco","id":278566,"avatar_url":"https://avatars.githubusercontent.com/u/278566?v=3","gravatar_id":"","url":"https://api.github.com/users/hgrecco","html_url":"https://github.com/hgrecco","followers_url":"https://api.github.com/users/hgrecco/followers","following_url":"https://api.github.com/users/hgrecco/following{/other_user}","gists_url":"https://api.github.com/users/hgrecco/gists{/gist_id}","starred_url":"https://api.github.com/users/hgrecco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgrecco/subscriptions","organizations_url":"https://api.github.com/users/hgrecco/orgs","repos_url":"https://api.github.com/users/hgrecco/repos","events_url":"https://api.github.com/users/hgrecco/events{/privacy}","received_events_url":"https://api.github.com/users/hgrecco/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T03:31:41Z","updated_at":"2015-12-22T03:31:41Z","body":"Sorry for the long delay. Merged now."}}