I'm trying to modify a .RTF
file, where the parameters to be modified are set as numbers. However, its characters are in ANSI I believe, because the file has its header the following directives in RTF
{\rtf1\ansi\ansicpg1252
How do I write in the file and the words contain accents, how can I encode my string so that it returns something read by RTF
???.
Below is an example of the encoding used in the
Usu\'e1rio
Pe\'e7a
(N\'famero)