_Document.TextEncoding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the code page, or character set, that Microsoft Word uses for a document saved as an encoded text file.
public:
property Microsoft::Office::Core::MsoEncoding TextEncoding { Microsoft::Office::Core::MsoEncoding get(); void set(Microsoft::Office::Core::MsoEncoding value); };
public Microsoft.Office.Core.MsoEncoding TextEncoding { get; set; }
member this.TextEncoding : Microsoft.Office.Core.MsoEncoding with get, set
Public Property TextEncoding As MsoEncoding
Property Value
Remarks
The TextEncoding property sets text encoding separately from HTML encoding, which you can set using the Encoding property. To set text encoding for all documents saved as text files, use the DefaultTextEncoding property.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for