The issue:
When I print special chars (alphabetic with accent, like in portuguese
language), it works fine:
http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=frente|atr%C3%A1s
When I print asian chars (japanese, for instance), it also works fine:
http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=日本語|英語
But if you mix them both, the former breaks into not understandable
data:
http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=日本語|atr%C3%A1s
Is this a bug, or expected behaviour? If so, how to proceed in order
to get it right?
Thanks in advance,
Thanks,
On Jan 2, 2:59 am, "bruno.braga" <bruno.br...@gmail.com> wrote:
> I would like to report issues with use of special chars on text
> rendering. I could not find in the documentation any specifications
> that leads to limitations on this part.
>
> The issue:
>
> When I print special chars (alphabetic with accent, like in portuguese
> language), it works fine:http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl...atr%C3%A1s
>
> When I print asian chars (japanese, for instance), it also works fine:http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl...本語|英語
>
> But if you mix them both, the former breaks into not understandable
> data:http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl...本語|atr%C3%A1s
>>> '日本語'
'\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'
>>> unicode('日本語', 'utf-8')
u'\u65e5\u672c\u8a9e'
Both fail (considered as string)...
On Jan 4, 10:55 pm, "bruno.braga" <bruno.br...@gmail.com> wrote:
> The links appear broken here, so fo reference, I posted here:http://code.google.com/p/jobtracker/issues/detail?id=25
>
> Thanks,
>
> On Jan 2, 2:59 am, "bruno.braga" <bruno.br...@gmail.com> wrote:
>
> > I would like to report issues with use of special chars on text
> > rendering. I could not find in the documentation any specifications
> > that leads to limitations on this part.
>
> > The issue:
>
> > When I print special chars (alphabetic with accent, like in portuguese
> > language), it works fine:http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl...
>
> > When I print asian chars (japanese, for instance), it also works fine:http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl...語|英語
>
> > But if you mix them both, the former breaks into not understandable
> > data:http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl...語|atr%C3%A1s