Unicode and Non-Ascii Documents

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by painetraine
Avatar
Is there anything special to do to SyntaxEditor to get it to load non-ASCII documents (ie. 1250 Code Page) documents correctly. When I load a document in notepad I get the special characters but when I load the same document in SyntaxEditor I simply get a non-printable box character and not the other characters. I tried setting UnicodeEnabled to true but that still didn't show the characters.

Any ideas?

Thanks

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
There are overloads to the LoadFile and SaveFile methods on SyntaxEditor that allow you to specify a different encoding than UTF-8 (the default). Use that and specify the appropriate Encoding object.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.