pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Macamba" <maca...@hermod.nl>
Subject unmappable character for encoding Cp1252
Date Fri, 06 May 2016 12:21:57 GMT
Hi all,

 

Is it me or is the EmbeddedFonts example in the pdmodel directory of the pdfbox examples on
SVN Apache not working? 

 

I get The following output:

src\org\apache\pdfbox\examples\pdmodel\EmbeddedFonts.java:63: error: unmappable character
for encoding Cp1252

        stream.showText("English ÐÇÐâÐ?Ð?ð║ð©ð╣ Ð?ðÀÐïð║ Tiß║┐ng
Việt");

                                      ^

src\org\apache\pdfbox\examples\pdmodel\EmbeddedFonts.java:63: error: unmappable character
for encoding Cp1252

        stream.showText("English ÐÇÐâÐ?Ð?ð║ð©ð╣ Ð?ðÀÐïð║ Tiß║┐ng
Việt");

                                        ^

src\org\apache\pdfbox\examples\pdmodel\EmbeddedFonts.java:63: error: unmappable character
for encoding Cp1252

        stream.showText("English ÐÇÐâÐ?Ð?ð║ð©ð╣ Ð?ðÀÐïð║ Tiß║┐ng
Việt");

                                                 ^

3 errors

Error: Could not find or load main class src.org.apche.pdfbox.examples.pdmodel.EmbeddedFonts

 

Location: https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedFonts.java?view=log

 

Line 63 in the code reads:

        stream.showText("English русский язык Tiếng
Việt");

 

Should that not be human readable text? 

 

Michel

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message