[ 
https://issues.apache.org/jira/browse/ARIA-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ran Ziv closed ARIA-272.
------------------------

> Console logger does not show Unicode
> ------------------------------------
>
>                 Key: ARIA-272
>                 URL: https://issues.apache.org/jira/browse/ARIA-272
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Tal Liron
>            Priority: Minor
>
> For example, it shows an operation input value like so:
> {code}
> u'chinese-is-\u4e2d\u6587'
> {code}
> When it should show:
> {code}
> 'chinese-is-中文'
> {code}
> The issue is in {{cli.color}}, specifically {{StringStylizer.format}}, which 
> uses Python's natural conversion objects to strings.
> I think instead we should do our own custom smart conversation that 
> recursively goes through dicts and lists and if it finds a {{basestring}} 
> type it will represent it in Unicode, instead of Python's built-in 
> representation.
> For a starting point, check out {{utils.formatting.safe_repr}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to