log4net SDK Reference |

# FileAppender.Encoding Property

Gets or sets Encoding used to write to the file.

[Visual Basic]
Public Property Encoding As Encoding
[C#]
public System.Text.Encoding Encoding {get; set;}

#### Property Value

The Encoding used to write to the file.

#### Remarks

The default encoding set is Default which is the encoding for the system's current ANSI code page.

#### See Also

FileAppender Class | log4net.Appender Namespace