Unicode and Non-Ascii Documents

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by painetraine
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?


Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v21.1.0) was released 19 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.