Skip to content
Advertisement

Getting pdf file from server, trying to display it in HTML

PDF

JavaScript

Tried solutions from other questions For example

`

JavaScript

` Tried with encodeURI etc Probably tried with whole answers from other questions, nothing to help. Getting or empty white screen, or error… With atob also getting an error:

angular.js:14642 DOMException: Failed to execute ‘atob’ on ‘Window’: The string to be decoded contains characters outside of the Latin1 range.

Advertisement

Answer

Hope that it will help to somebody

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement