|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/1/2008 9:15:21 AM
Posts: 4,
Visits: 15
|
|
Hello,
I have gone through your documentation thoroughly and have been evaluating your product for quite some time now. It is very impressive, even though I have not been able to correctly display multilingual characters. We are working on a multi-language application, and an example language we support would be Turkish. Unfortunately, the characters do not display correctly even after Iwe made sure of the following:
1. The xml tag contains (utf8 in its xml.inspect! output)
2. Our RoR application runs with en-EN.UTF8 ENV variable set.
3. Our database has all of its tables and default collation in utf8.
4. We are using the supplied dataURL method.
5. Our XML output is correctly displayed on Firefox as (notice the multi-lingual characters):
Any help and/or insight into solving this problem would be much appreciated.
Edit: I put in the necessary code IFCode, but my code still does not display correctly.
Best,
OA
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/1/2008 9:15:21 AM
Posts: 4,
Visits: 15
|
|
Also, here is what the xml output shows (notice that all non-English characters are correctly replaced with their UTF-8 equivalents):
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: 2 days ago @ 2:56:41 AM
Posts: 704,
Visits: 1,139
|
|
| hi, can you try adding the 3 BOM bytes (0xef,0xbb,0xbf) at the beginning of the XML stream.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/1/2008 9:15:21 AM
Posts: 4,
Visits: 15
|
|
I have tried adding 0xEF, 0xBB, 0xBF at the beginning of the xml string that is generated; which really made the output look like:
239187191
I'm still having the same problem though.
Best,
OA
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/1/2008 9:15:21 AM
Posts: 4,
Visits: 15
|
|
Thanks for the help! I just resolved the issue.
Great package!
Best,
OA
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
Hi,
Could you please share with us as to how you finally resolved it?
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/10/2008 12:40:03 PM
Posts: 4,
Visits: 10
|
|
yeah, please do share with us.
I have the same issues. Looking at the response xml returned in firefox, i can see the Japaneses and the Chinese characters just fine. (our .net application supports displaying characters of all kinds)
However, the x label names are messed up. Not sure what to do with it.
I constructed an xml file manually, in visual studio, saved the file as UTF-8 (however, the only option VS 2005 gave me was "Unicode (UTF-8 with signature) - Codepage 65001, Line endings: Unicode Line Separator (LS)".
Tried with Notepad++ , opened up the xml, I can see the non-English characters just fine as well.
Still no joy. but other than that, i'm enjoying it so much.
EDIT - resolved. The way I manually constructed the xml and back to the javascript setDataURL was wrong. It didn't have BOM in front.
http://jumptree.com
|
|
|
|