is utf-8 default?
Opened this issue · 1 comments
Silentdoer commented
in java, xx.properties is ISO-8859-1, i think this crate should support default utf8?
adamcrume commented
This crate uses ISO-8859-1 by default because that's what the Java Properties class uses. If this used UTF-8 by default, it wouldn't be compatible with the Java Properties class. Custom encodings (including UTF-8) can be used by passing the encoding to PropertiesIter::new_with_encoding
or PropertiesWriter::new_with_encoding
.