desjarlais/Scintilla.NET

How do I set the encoding of Scintilla.NET

Closed this issue · 2 comments

Z-orz commented

How do I set the encoding of Scintilla.NET

Hi,
The encoding is always UTF8: https://github.com/VPKSoft/Scintilla.NET/blob/master/Shared/Scintilla.cs#L4425.
If you wish to load text other than UTF8, e.g. from a file see: File.ReadAllText.

Z-orz commented

OK, Thank you for your help.