Encoding Property

NAnt SDK Documentation - v0.92 |

# EchoTask.Encoding Property

The encoding to use when writing message to a file. The default is UTF-8 encoding without a Byte Order Mark (BOM).

[Visual Basic]
<TaskAttribute(Required:=False, Name:="encoding", ExpandProperties:=True, ProcessXml:=True)>
Public Property Encoding As Encoding
[C#]
[TaskAttribute(Required=False, Name="encoding", ExpandProperties=True, ProcessXml=True)]
public System.Text.Encoding Encoding {get; set;}

#### See Also

EchoTask Class | NAnt.Core.Tasks Namespace