Hello, I have a problem with getting the Cyrillic characters.
This is my property file:
#put any key/value pairs here
duedate.job.cron=0 10 20 ? * MON-FRI
This is the Java code that gets the property:
final I18nHelper i18nHelper2 = ComponentAccessor.getI18nHelperFactory().getInstance(Locale.getDefault());
final String property = i18nHelper2.getText("text.rus");
libraries that I use
Here is a screenshot of what jira getting in debug:
The workaround is to replace the text with Unicode characters:
But this does not completely suit me.
Property file encoding is utf-8.
jira version 7.4
I found this guide about internationalization.: https://developer.atlassian.com/server/framework/atlassian-sdk/internationalising-your-plugin/
It says - "Please Note: If you any of your translations use non-ASCII characters, which will include most languages other than English, then you must convert your text file to a Unicode-encoded ASCII text file using a tool such as native2ascii."
For this reason, all non-English characters are must be replaced by their Unicode.
After all, java and utf-8 can support the Cyrillic, but in jira it is not possible(( Can someone explain why? At what level does this limit appear?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events