it is still a good practice to encode base64 something we don’t exactly know the real content…
are we sure that ALL special characters are correctly rtf encoded by xojo rtf parser ?
as example : https://tracker.xojo.com/xojoinc/xojo/-/issues/76848
anyway, I still find that rtf is badly supported today by xojo methods
you’ve better use html to store styled text in a database
and use this class to edit them just like styledtext does.