Dear DevExpress Support
We have a code in our application which is converting a plain text into RTF using an instance of RichTextBox (System.Windows.Forms). Then, this code appends this RTF text to the content of a RichEditControl. A small prototype illustrating this behavior is attached with this ticket.
This code is working fine until we activate the following option in the Windows regional settings (Settings > Date & time > Date, time & regional formatting > Additional date, time & regional settings > Region > Administrative > Change system locale…)
With this setting activated, the code of the attached prototype will crash when trying to append the RTF text (see attached error log).
Apparently, the RichTextBox control is producing a different RTF if this setting is checked.
With setting checked (error):
Code{\urtf1\ansi\ansicpg65001\deff0\deflang4108{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 Some more text...\par }
With setting unchecked (no error):
Code{\rtf1\ansi\ansicpg1252\deff0\deflang4108{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 Some more text...\par }
=> Do you have more information about this Windows setting and its influence on your RichEditControl?
=> Is there a way to configure the RichEditControl in order to support this other RTF format?
Thanks and best regards
Matthieu