Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 656
    • Issues 656
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #723

Closed
Open
Created Feb 16, 2019 by Sergey Popov@SergPopov

Problem with Cyrillic encoding

Hello, dear developers!

When using the library (poppler-0.74.0.tar.xz, poppler-data-0.4.9.tar.gz), there was a problem with Cyrillic encoding.

I start the conversion with the following command:

pdftohtml -c -fmt png -zoom 1.5 -enc Windows-1255 /home/vagrant/code/1.pdf /home/vagrant/code/1.html

As a result, I get html with incorrect encoding, I attach a screenshot of result.pngresult

This problem is observed only on some pdf files.

I can not attach the file myself, but I can give part of the title:

%PDF-1.3 %Є«¬­ 4 0 obj << /Type /Info /Producer (FOP 0.20.5) >> endobj 5 0 obj << /Length 2913 /Filter [ /ASCII85Decode /FlateDecode ]

stre**am .......

Possible problem in ASCII85Decode?

Dear developers, how can correctly decode these pdf files?

Thanks!

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking