The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have an issue where, whenever I execute a savefile command on a code editor window, the first few characters are FF FE FF FE (in HEX) it looks like a dot if the saved file is opened in an external text editor. Has someone else ever seen this?
If so, is it fixed in a later version?
Ryan
ADAdministrator Syncfusion Team January 18, 2005 09:06 PM UTC
Hi Ryan,
The reason is that by default, the text encoding is set to UTF8. These initial characters are marking the file as unicode file with UTF8 encoding. Editors such as notepad ignore these initial characters when displaying. If you are wanting to remove this, you need to set the TextEncoding of the Editcontrol to be ASCII.
Calling:
this.editor.TextEncoding = System.Text.Encoding.ASCII;
should take care of this issue.
Regards
Arun