react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

some characters are missing (probably a utf-8 issue)

Open omerersoyy opened this issue 6 years ago • 5 comments

What react-native version are you using? 0.60.5 What react-native-pdf version are you using? 5.1.4 What platform does your issue occur on? (android/ios/both) both Describe your issue as precisely as possible :

  1. Steps to reproduce the issue or to explain in which case you get the issue When viewing a pdf file from base64 source, some Turkish characters like "İ, Ğ" ara missing.

omerersoyy avatar Sep 16 '19 09:09 omerersoyy

What react-native version are you using? 0.60.5 What react-native-pdf version are you using? 5.1.4 What platform does your issue occur on? (android/ios/both) both Describe your issue as precisely as possible :

  1. Steps to reproduce the issue or to explain in which case you get the issue When viewing a pdf file from base64 source, some Turkish characters like "İ, Ğ" ara missing.

any progress? I am having the same problem. In my case, the missing letters are Ş ş and İ . It happens on android only. Tried to upload a pdf which contains a dummy text of Turkish special characters, everything seems fine. It is really confusing to me.

fukit0 avatar Nov 13 '19 12:11 fukit0

I solved my problem by changing font from Helvetica to Courier.

fukit0 avatar Nov 14 '19 07:11 fukit0

I solved my problem by changing font from Helvetica to Courier.

font in xxx.pdf or font in project?

HeyShinner avatar Apr 02 '20 08:04 HeyShinner

@fukit0 what was your solution? i am having issues with arabic language on huawei phones.

saadzia avatar Jun 30 '22 13:06 saadzia

@HeyShinner as far as I remember, I have changed the font in the PDF. @saadzia as I mentioned in my previous comment, I have changed the font.

fukit0 avatar Jul 27 '22 12:07 fukit0