Is it just the FileAppender? What happens when you use a
ConsoleAppender? Have you tried setting the encoding property on the
FileAppender:

http://tinyurl.com/k8npm
http://logging.apache.org/log4net/release/sdk/log4net.Appender.FileAppender.Encoding.html

<appender name="FileAppender" type="log4net.Appender.FileAppender">
 ...
 <encoding value="System.Text.Encoding.Unicode" />
</appender>

--- Cuppax <[EMAIL PROTECTED]> wrote:

> Can someone please tell me a work-around for this?
> When I have localized text returned to me by the OS
> that I need to log, the rolling file logs contain junk
> characters such as: 
> ���O�I�����s:
>
���[�U�[����F���ł��Ȃ����A�܂��̓p�X���[�h���Ԉ��Ă��܂��B
> �p�����[�^���Ԉ��Ă��܂��B
> 
> Swami
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

Reply via email to