Ask Your Question

PDF content have caracters special different to origin document [closed]

asked 2018-04-25 04:06:52 +0200

jrgruben gravatar image


I have libreoffice6 installed and running soffice, into RHEL 7, and JBoss eap 6.4, in this a application that call jodconverter framework to conver rtf to pdf document.

I see thath the characters special sach as (accent mark, ñ, etc.) thath containt rtf document, to converter to pdf don´t show that origin, and replace to character �

I have configure into RHEL the file /etc/locale.con from LANG="en_US.UTF-8" to LANG="es_EC.UTF-8" and it have same result.

Help me, what can I do so that the conversion is the same as the original document, and does not replace the special characters.


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by jrgruben
close date 2018-04-27 19:42:38.897342


Read these guidelines and ask good questions. In particular, explain the procedure that you use for conversion.

gabix gravatar imagegabix ( 2018-04-25 08:06:49 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-04-27 17:56:10 +0200

petermau gravatar image

I do not think this is a LibreOffice problem, but one of setup. Check the character set definition for the input file.

The � is the Unicode for an invalid character. (U+fffd). LibreOffice is displaying this character correctly. You usually see this character when converting via a program that does not understand Unicode or you have defined the character set used to one that does not support Unicode. The .rtf document is a text file and does not itself define the character used in the document. For example, if you state the character set is US-ASCII, this will not understand ñ.

Hope this gives a pointer...

edit flag offensive delete link more


I have solved the problem using the libreoffice ( that comes in dvd installation of centos 7.4, which looks like the original with accents and ñ;

Thanks for the help...

jrgruben gravatar imagejrgruben ( 2018-04-27 19:41:29 +0200 )edit

Question Tools

1 follower


Asked: 2018-04-25 04:06:52 +0200

Seen: 81 times

Last updated: Apr 27 '18