Is it possible to use java.util.Properties with encoding different from the standard?
Not if you
This is a rather annoying spec error. There are several workarounds, perhaps the easiest one is to automatically create a unicode compatible file with the appropriate code (cp1250, utf-8, whatever).
Java comes with a native2ascii transcoder to do this for you:
RFE :
, , load() store(), Reader/Writer InputStreamReader/OutputStreamWriter .
load()
store()
Reader
Writer
InputStreamReader/OutputStreamWriter
, .
: Java 1.6 - , dsadinoff.
, ant script native2ascii:
<property name="javac.source.encoding" value="Cp1250"/> <native2ascii src="${src.dir}" dest="${classes.dir}" encoding="${javac.source.encoding}" includes="**/*.properties"/>
Source: https://habr.com/ru/post/1716574/More articles:Empty popup in SharePoint - internet-explorerwhere msscript.ocx is installed from - scriptingWeblogic context search error: java.rmi.UnmarshalException: error arguments - javaCongestion overload: public-private search in C ++ class - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1716573/ddd-repositories&usg=ALkJrhg1bRaCAo-xG-HOEDVitEWb6X2jFASilverlight: defining an event handler in a hierarchical data template - eventsConvert NSNumber to CLCoordinate - objective-cGet username even if Windows Authentication - c #iPhone Objective C - ошибка: значение указателя, используемое там, где ожидалось значение с плавающей запятой - objective-cLAN access on Android without Wi-Fi - androidAll Articles