You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by John Lussmyer <Co...@CasaDelGato.com> on 2018/06/23 14:38:45 UTC

Make log file use UTF-8?

Is there any way to get log4j to accept UTF-8 strings, and write the log in UTF-8?
Our app often gets data with international characters, and when logged - it's converted to gibberish.

--
Worlds only All Electric F-250 truck! http://john.casadelgato.com/Electric-Vehicles/1995-Ford-F-250


Re: Make log file use UTF-8?

Posted by Ralph Goers <ra...@dslextreme.com>.
Have you tried setting the charset on the Layout?

Ralph

> On Jun 23, 2018, at 7:38 AM, John Lussmyer <Co...@CasaDelGato.com> wrote:
> 
> Is there any way to get log4j to accept UTF-8 strings, and write the log in UTF-8?
> Our app often gets data with international characters, and when logged - it's converted to gibberish.
> 
> --
> Worlds only All Electric F-250 truck! http://john.casadelgato.com/Electric-Vehicles/1995-Ford-F-250
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org