Skip to content

Unsupported URL - Latin characters #697

@paularolim

Description

@paularolim

What react-native version are you using?
0.68.2

What react-native-pdf version are you using?
6.5.0

What platform does your issue occur on? (android/ios/both)
iOS

Describe your issue as precisely as possible :
PDF URIs with Latin characters, for example, with the accented word "Portuguese" return the error "unsupported URL". Even trying to use encodeURI/decodeURI or encodeURIComponent/decodeURIComponent I was not successful.

Example of a link with accents I found on the internet to reproduce the issue: https://dhg1h5j42swfq.cloudfront.net/2016/12/12140937/Resumo-Português.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions