Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't search within the PDF #126

Open
oesah opened this issue Mar 5, 2018 · 7 comments
Open

Can't search within the PDF #126

oesah opened this issue Mar 5, 2018 · 7 comments

Comments

@oesah
Copy link

oesah commented Mar 5, 2018

I am not sure, if that behavior is intended, but I cannot find text in the PDF if I search. When I copy text, the paste becomes something unreadable such as ...#_-.

Without a search functionality, it is very difficult to navigate to specific information.

OS
OSX 10.11.6 (15G1611) (German)
Windows 10 (German)

PDF Viewers
Preview.app
Adobe Acrobat Reader
Chrome Browser

PDF Version
Django Two Scoops 1.11.pdf

@pydanny
Copy link
Member

pydanny commented Mar 5, 2018

Odd, I can search without a problem.

As for copy/pasting of text, that's a limitation of the PDF format and is all on @adobe. That's why we publish our code examples here.

@oesah
Copy link
Author

oesah commented Mar 17, 2018

I tried on Windows 10 too. May it be an issue with my computer having German as the first language? Maybe some encoding problems? I'll investigate a little further.

@oesah
Copy link
Author

oesah commented Dec 12, 2019

@pydanny Unfortunately, this problem still persists :/ When I search for any word, no results are shown. Any ideas what could be wrong? I am using Adobe Acrobat Reader 2019.021.20058 or the Mac Preview app. Both cannot find anything.

@pydanny
Copy link
Member

pydanny commented Dec 12, 2019

I have some German friends I'm asking about the problem.

@oesah
Copy link
Author

oesah commented Mar 28, 2020

@pydanny Any luck? I am back to reading the book for unit testing and wanted to copy a line of code and got this: 􀀮􀀠􀀧􀀡􀇡􀀜􀀮􀀮􀀠􀀭􀀯􀀆􀀬􀀰􀀜􀀧􀀮􀇿􀀭􀀠􀀮􀀫􀀪􀀩􀀮􀀠􀇡􀀮􀀯􀀜􀀯􀀰􀀮􀇾􀀞􀀪􀀟􀀠􀇢 􀇏􀇍􀇍􀈀. I guess it's the same issue that hinders me searching the doc.

@oesah
Copy link
Author

oesah commented Mar 28, 2020

While I'm here, it would be awesome to have some information on testing class based views properly. There is very little and outdated data on the web on how to test CBVs properly. For instance, do I make actual requests to that view when unittesting or do I call the method of the view by instantiating it with a request and other args?

@pydanny
Copy link
Member

pydanny commented Mar 28, 2020

Rather than bury it in this issue, could you open a new issue for your CBV request at https://github.com/feldroy/two-scoops-of-django-3.x/issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants