It should work. Check that you have itext-asian.jar in your classpath.
It's in the download bundle extrajars.

Paulo

On Fri, Mar 22, 2013 at 12:53 AM, Frederic Laruelle <f...@inkwireapp.com> wrote:
> Having trouble extracting text from a particular pdf doc with itext:
> here's my java (Groovy) code snippet:
>
> def url =
> "https://mybayerjob.bayerbbs.com/sap(bD16aCZjPTAwNQ==)/bc/bsp/sap/hrrcf_wd_dovru/application.do?PARAM=cmNmdHlwZT1waW5zdCZwaW5zdD0wMDUwNTY4OTAwQjQxRUQyOUVGOUY5QzFERTRBNDQxMw%3d%3d"
> def reader = new PdfReader(new URL(url))
>
> PdfTextExtractor.getTextFromPage(reader, 1)
>>> empty output :-(
>
> new String(reader.getPageContent(1), "UTF-8")
>>> this outputs some stuff, so there's clearly content, but it's not
>>> readable by a human
>
> Ideas?
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to