
localization
localization
I have a resource bundle that contains Japanese text that I would like to use in the JFreeChart graphs that I include in my application. When I display the Japanese characters in my html page, they display fine. However, if I pass them to the JFreeChart methods to set titles, etc..., garbage (empty boxes) is displayed.
Does JFreechart support localization?

localization
I using the following encoding in my html page. Note, when I pass the following Japanese text directly into my html page, it displays fine. However, when I pass the same text to the JFreeChart methods to set the title & labels, the text does not display.
<meta http-equiv="charset" content="UTF-8">
<meta charset="UTF-8">
Japanese text
\u5e73\u5747\u30ad\u30e5\u30fc\u5b9f\u884c\u6642\u9593
<meta http-equiv="charset" content="UTF-8">
<meta charset="UTF-8">
Japanese text
\u5e73\u5747\u30ad\u30e5\u30fc\u5b9f\u884c\u6642\u9593
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You need to ensure that the font you are using to display the text in JFreeChart actually supports the Japanese characters you are trying to display.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

