$fontIndex
$fontIndex :
sint
RTF encoding
NB - this produces just the bare minimum of RTF code to work in Word and OO.org
utf8_2_rtfansicpg1252( string) :
UTF-8 to ANSI Windows 1252 strings for RTF only
returns a string encoded accordingly to Rich Text Format (RTF) Specification Version 1.9.1 https://www.microsoft.com/en-us/download/details.aspx?id=10725
string | UTF-8 encoded string |
plain ASCII with RTF specific sequences for others characters