UTF-8 Problem with LocalizationBundle [Kinda Solved]

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Tanshaydar
Posts: 2
Joined: Mon Jan 05, 2015 8:58 am
antibot: No, of course not.

UTF-8 Problem with LocalizationBundle [Kinda Solved]

Post by Tanshaydar » Mon Jan 05, 2015 9:02 am

Hi;
I'm using JFreeChart and it is an amazing tool, a must library. However, for my clients, I need to serve all features in Turkish which means I had to localize LozalizationBundle files too.
Nevertheless, since ResourceBundle files are not read with UTF-8 controller as they normally should be, my special characters like Ö and Ş are displayed incorrectly.

Do I need to extend the existing classes and implement my own ResourceBundle into them, or is there any workaround for this?

Regards, Tansel.

An edit which came at lightning speed:
I just realized that Java is able to render UTF-8 codes of special characters. So instead of ğ I could use \u011f and it would still render ğ.
Not a desired method, but it works, eh?

Locked