get bundle message from context Spring localization -


i tried translated message regard locale(ru,uk,en). on output have next: ?????? instead normal translate. en message return in normal form.

public string getmessage(string key) {         locale locale = localecontextholder.getlocale();         return context.getmessage(key, null, locale);     } 

check source .properties files encoding on utf-8


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -