I’m sorry, I didn’t ask the question correctly. SimpleLogger doesn’t currently accept a charset. Are you planning on adding a new properly to SimpleLoggerContext to support this? I don’t really have an objection but am just wondering when other than the platform’s default encoding would want to be used. After all, SimpleLogger wasn’t really meant to be what people actually used on purpose.
Ralph On Mar 23, 2014, at 6:01 PM, Matt Sicker <[email protected]> wrote: > It's right there in the docs: > http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html > > All characters printed by a PrintStream are converted into bytes using the > platform's default character encoding. The PrintWriter class should be used > in situations that require writing characters rather than bytes. > > > On 23 March 2014 18:54, Ralph Goers <[email protected]> wrote: > How will it improve charset handling? Currently a charset isn’t configured. > > Ralph > > On Mar 23, 2014, at 3:58 PM, Matt Sicker <[email protected]> wrote: > >> Would it be alright to migrate to using PrintWriter instead of PrintStream? >> This improves charset handling, plus Java recommends using Writers over >> OutputStreams for textual content. >> >> -- >> Matt Sicker <[email protected]> > > > > > -- > Matt Sicker <[email protected]>
