How change headless codepage? [closed]

asked 2016-07-04 13:50:22 +0200

gremlin_tomsk gravatar image

updated 2020-08-04 18:29:53 +0200

Alex Kemp gravatar image

Hi everyone. I've been using LibreOffice headless for Liferay Portal(using soffice -headless -accept="socket,host=,port=8100;urp;" -nofirststartwizard) for converting documents(doc,docx,xls and etc.) to html. From LibreOffice >4.4 to 5.1 it works fine. I edited LibreOffice 5\share\registry\main.xcd string from <prop oor:name="Encoding" oor:type="xs:int"> to <prop oor:name="Encoding" oor:type="xs:int"><value>76</value></prop> and utf-8 works fine. But in version it does not work. Files after libreoffice becoming with cp1251(Russian windows default codepage) and looks like this Is this bug? How can i change libreoffice use utf-8 permanently?</prop>

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-08-04 18:30:00.265964