EmailComposeTask.CodePage Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the character set that will be used to display the message content.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)


Public Property CodePage As Nullable(Of Integer)
public Nullable<int> CodePage { get; set; }

Property Value

Type: System..::.Nullable<(Of <(Int32>)>)
The codepage for the new email message.


The default codepage is UTF-8. If the operating system is unable to display the requested code page, UTF-8 will be used.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


EmailComposeTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the email compose task for Windows Phone 8