• OpenKM Preview Problem ,Chinese characters garbled

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #16909  by kinghuangworld
 
Dear Sir,

I am getting the Preview Problem,.doc and .xls files Can show letters and numbers, but Chinese character display box . Chinese character display in pdf filer ok, large pdf documents can not preview.


My configuration is:

OpemKM 5.1.9 working on centos 6.2 using openoffice 3.4 with Chinese language pack as the previewer.
Code: Select all
system.ghostscript.ps2pdf String /usr/local/bin/ps2pdf -T 9 -f ${fileIn} -o ${fileOut}       
system.imagemagick.convert String /usr/local/bin/convert  
system.ocr String /usr/local/bin/tesseract${fileIn} ${fileOut}       
system.openoffice.dictionary String /opt/openoffice.org/basis3.4/share/wordbook       
system.openoffice.path String /opt/openoffice.org3       
system.swftools.pdf2swf String /usr/local/bin/pdf2swf -T 9 -f ${fileIn} -o ${fileOut}

Configuration check
•system.swftools.pdf2swf
OK - /usr/local/bin/pdf2swf
•system.imagemagick.convert
OK - /usr/local/bin/convert
•system.ocr
Can't read or execute: /usr/local/bin/tesseract${fileIn} ??
•system.openoffice.path
OK - /opt/openoffice.org3/program/soffice.bin
Attachments
okm_error.jpg
okm_error.jpg (213.55 KiB) Viewed 4265 times
 #16986  by jllort
 
Try txt to pdf conversion with openoffice to see if goes right, then try pdf2swf to test swf conversion ( this second from terminal ).That's the process is done by openkm and we'll see the origin of the problem.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.