Possible bug with RTF / EditorGadget ??

Just starting out? Need help? Post your questions and find answers here.
Zach
Addict
Addict
Posts: 1654
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Possible bug with RTF / EditorGadget ??

Post by Zach »

PB: 5.61 (x64)
OS: Windows XP (x64) Professional LTSB


Hi,

I've been away a long time and was struggling to figure out how to get my RTF parsing code to work again with newer versions of Purebasic that are Unicode only. (I know bunk about Unicode)
I was provided a solution by another user in this post http://www.purebasic.fr/english/viewtop ... 53#p519953

where they also posited that PB may be converting the strings internally (PB is unicode while Gadget is UTF8) and that it is causing the format to be lost under the previous method I was using to generate my RTF text output. They weren't sure if it was a "bug or feature"

The original code before modification can be seen in this post http://www.purebasic.fr/english/viewtop ... 43#p519943

Could the PB Team comment on this behavior?
Image