karurkarthi / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Unicode charachter are not support #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Please see the attached document, the 3rd word of the document were missing. 
That word is written using Unicode characters but not transfers to the pdf 
document.

What is the expected output? What do you see instead?
Only English words got transfers to the pdf

What version of the product are you using? On what operating system?
Windows 7

Original issue reported on code.google.com by dhanushk...@gmail.com on 7 May 2013 at 4:47

Attachments:

GoogleCodeExporter commented 9 years ago
It's iText problem I think.

> Only English words got transfers to the pdf
Frensh words works well, but it belongs to the installed font.

I have some trouble too with chinese characters but I have spend a very long 
time to try to fix it, without success. Any contribution are welcome!

Regards Angelo

Original comment by angelo.z...@gmail.com on 7 May 2013 at 7:38

GoogleCodeExporter commented 9 years ago
I'm not sure! because docx4j is supporting to convert non english letters.. 
and I can read those non english word in document.xml file..
wonder why those characters are getting omitted :(

Original comment by dhanushk...@gmail.com on 7 May 2013 at 8:29

GoogleCodeExporter commented 9 years ago
Ok, so it's perhaps the same problem than bullet 
https://code.google.com/p/xdocreport/issues/detail?id=151

If it that, it's a POI problem and you will see in this issue the link where I 
have posted my question, but today none answer-(

Original comment by angelo.z...@gmail.com on 7 May 2013 at 8:38

GoogleCodeExporter commented 9 years ago
Hi Angelo.. 

Nice thing here & hope one day it will help .....
I have set fontEncoding to ISO-8859-1 and now it shows like "?????"  
but still not showing the true character :) - PDF doesn't show anything when i 
set it to UTF-8  

PdfOptions options = PdfOptions.create();
options.fontEncoding("ISO-8859-1");

Original comment by dhanushk...@gmail.com on 7 May 2013 at 10:34

GoogleCodeExporter commented 9 years ago
Ok thank's for your comments. As I said you it's perhaps a POI problem. I'm 
litlle discouraged with those encoding problem (take a long time to try to fix 
it, without success-( ) and I hope some people (as you?) could investigate 
about this topic.

Original comment by angelo.z...@gmail.com on 7 May 2013 at 12:28

GoogleCodeExporter commented 9 years ago
This issue is already fixed (you must just install the well font in your 
computer).

I have added the HelloWorld.docx  in our Junit 
https://code.google.com/p/xdocreport/source/detail?r=a4640cc9f3917850cb0913886f9
807c218298c04

Original comment by angelo.z...@gmail.com on 7 Aug 2014 at 9:28