Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
To change the text encoding of a pdf - bug-code.com Q&A

To change the text encoding of a pdf

0 like 0 dislike
66 views
This pdf file made by latex+dvips+ps2pdf, the source code is lost or hidden by the creators :)
If the adobe pdf reader to highlight text and copy somewhere, copied kryakozyabry, such as "Ñòîõàñòè÷åñêèé".
As a result of bad coding not working, e.g. search by file.
For some of the existing files helps to use foxit instead of adobe for search, but I want any reader could read. Required, apparently, to change the encoding to something inside (or outside?) pdf. Rummaged in the Internet, nothing useful found, though the problem, like, not rare. Advise any software or sequence of actions to fix it. Any operational system.
asked by | 66 views

6 Answers

0 like 0 dislike
You have the text encoded in CP1252 (the word "Stochastic"). You need to pull all the text from the pdf, change the encoding and re-save in pdf. Formatting will probably be lost, I'm not special. Maybe somehow you can convert the encoding in any pdf editor.
answered by
0 like 0 dislike
If the phrase to translate can be in the decoder, and to the whole book — as also tried it, nothing happened.
answered by
0 like 0 dislike
Found the solution for my cases:
\r
gs-sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=output.pdf input.pdf

After this output.pdf incredible way there is a true encoding.
In Windows executable file should be called gsw32c, gswin32c, and also gs.
answered by
0 like 0 dislike
File\\Save as\\select format\\to the right click "Settings"\\if the selected format requires a change of encoding, select the desired (usually UTF-8)\\click Save\\Forward\\Happy
answered by
0 like 0 dislike
I restored the file (the one in the GOST tables and formulas) with the same problem (without sources and preserving the format) using https://finereaderonline.com/ - probably the same thing can be done the usual FineReader'ohms. The result is exported to any text format.

(I understand that necroposting, but since the normal response to restore without sources in the network is not found, then maybe this option would be more useful to someone)

In the online version recognition more than 11 pages paid, but I think in the future, under a similar issue is possible and not to pegmatites (ABBYY sell packages pages do not have a program to buy) for a good purpose. This time I had 10 pages I noted at random.
answered by
0 like 0 dislike
Helps me in this case is the following. I'm from a pdf which is copied to Cyrillic, ctrl+p create a new pdf using the Adobe PDF printer and pdf copies of the Russian text.
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.8k users

24,788 questions
46,220 answers
0 comments
12,808 users