wxRichtextCtrl and quotation marks

Alfred Bertrand a.bertrand at gmx.net
Sat Apr 26 06:05:39 PDT 2008



I'm using a wxRichtextCtrl and i'm having troubles with quotation marks at
the end of lines.

If i save a buffer to a file (with wxRichtextCtrl::SaveFile) with a
quotation mark at the end, then the following will be written: ...
    <paragraph>
      <text>Test&quot;</text>
    </paragraph>
...

If i read this file using wxRichtextCtrl::LoadFile the quotation mark
won't be shown in the control (But still in the buffer)

Saving the buffer again will remove the quotation mark completely:
...
    <paragraph>
      <text>Test</text>
    </paragraph>
...


The richtext-sample from wxwidgets has the same behavior.
Are there any workarounds for this? Did i something wrong?

Thanks!


More information about the wx-users mailing list