net.dankito.utils.localization.UTF8ResourceBundleControl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-utils Show documentation
Show all versions of java-utils Show documentation
Some basic utils needed in many projects
The newest version!
package net.dankito.utils.localization
/**
*
* By default .properties files only supports ISO-8859-1 (Latin-1) as encoding.
* To be able to load non Latin-1 characters, a custom ResourceBundle.Control has to be written which reads properties file in UTF-8 encoding.
*
*/
open class UTF8ResourceBundleControl : SettableEncodingResourceBundleControl("UTF-8")