Search code examples
dartdart-polymer

I have greek text on a String in Dart using Polymer, why is it displayed wrongly on the browser?


I have the following String on my Dart code, using Polymer:

@observable String title = "Καλώς Ήρθατε Ξανά!";

But this is what I see on the browser:

Καλώς ΉÏθατε Ξανά!

What am I missing ?

When the text uses the regular Latin chars, everything is perfect.

Thank you in forward


Solution

  • Like @Akshay comments on his response:

    It must be a bug in Dartium, I found this: code.google.com/p/dart/issues/detail?id=14948

    I ran it as JS and the greek String was displayed properly. (With out the need of any Encoding or else, just with the String).

    So, I ran the JS version on the Chromium browser just to check... maybe it was a Browser issue.... but it ALSO WORKED!

    The solution is: There is no solution... IT's a bug on the Dartium, (see link above).