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?
ADAdministrator Syncfusion Team January 18, 2005 04:06 PM
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.
this.editor.TextEncoding = System.Text.Encoding.ASCII;
should take care of this issue.