hand79 / Hadoop

Hadoop 開發實作&筆記
0 stars 0 forks source link

encoding truble #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I use Ubuntu 9.04
2. I want use export PDF
3. I am russian programmer
4. In PDF I see code symbols, for example ЈА

What write in export.pdf.fontName and export.pdf.fontEncoding parameter 
for me?

Original issue reported on code.google.com by stas.agarkov on 9 Sep 2009 at 12:50

GoogleCodeExporter commented 9 years ago
I am not sure why you would see those symbols...the character encoding is set 
to UTF-8. 

You could also use the PDFP view that might work better for you.

Original comment by jeff.johnston.mn@gmail.com on 10 Sep 2009 at 5:04

GoogleCodeExporter commented 9 years ago
These codes are obtained after the call escapeHtml in jmesa. In PDFP do these 
codes 
do not, they are converted into ordinary characters, but in the resulting pdf 
file 
is not found themselves Cyrillic characters! : (You can do anything to help me?

Original comment by stas.agarkov on 10 Sep 2009 at 7:50

GoogleCodeExporter commented 9 years ago
Yes, PDFP solves this problem. Now use it.

Original comment by stas.agarkov on 5 Nov 2009 at 2:52

GoogleCodeExporter commented 9 years ago
Like I just recently said in issue 170, you may try not using HtmlCellEditor in 
your
columns, because it hurts the PDF exporting.
Try these in all your text columns:

htmlColumn.getCellRenderer().setCellEditor(new BasicCellEditor());

Cheers

Original comment by AlejaV...@gmail.com on 30 Nov 2009 at 11:06

GoogleCodeExporter commented 9 years ago

Original comment by jeff.johnston.mn@gmail.com on 10 Mar 2011 at 10:10