# Invalid Arabic Characters in Chrome and Edge Browser. Working Fine in Mozilla FireFox

**URL:** https://pdfjs.community/t/invalid-arabic-characters-in-chrome-and-edge-browser-working-fine-in-mozilla-firefox/2076
**Category:** Technical Support
**Created:** [September 29, 2022, 1:05pm UTC](https://pdfjs.community/t/invalid-arabic-characters-in-chrome-and-edge-browser-working-fine-in-mozilla-firefox/2076 "2022-09-29T13:05:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sejaz](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@sejaz](https://pdfjs.community/u/sejaz)
#### Post date: [September 29, 2022, 1:05pm UTC](https://pdfjs.community/t/invalid-arabic-characters-in-chrome-and-edge-browser-working-fine-in-mozilla-firefox/2076/1 "2022-09-29T13:05:14Z")

</div>

**Which product are you using?**  
PDF.js Express Viewer

**PDF.js Express Version**

**Detailed description of issue**  
Please note that I am using PDF.js (v1.1.114) and the ViewerJS (Version 0.5.8). There is an issue with Arabic PDF when it is rendering in the Google chrome and Microsoft Edge Browser. However the same PDF is rendered correctly in the Mozilla Firefox. I have uploaded the screenshot of the rendered PDF in the Google Chrome with highlighted the invalid characters.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/2/28841423c8252b5aeef78b36787c468ba983d1a2.png)

**Expected behavior**  
I am not allowed to upload multiple screenshot so I didn’t uploaded the screenshot of the rendered PDF in the Mozilla Firefox, that are showing invalid in the Google Chrome shown in the **Detailed description of issue**.

**Does your issue happen with every document, or just one?**  
Every Document

**Link to document**  
We don’t have the link

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)
#### Post date: [September 29, 2022, 1:05pm UTC](https://pdfjs.community/t/invalid-arabic-characters-in-chrome-and-edge-browser-working-fine-in-mozilla-firefox/2076/3 "2022-09-29T13:05:20Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Disabling flattened annotations](https://pdfjs.express/documentation/annotation/disable-annotations)
- [Integrating PDF.js Express Plus into a new Blazor project - Prerequisites](https://pdfjs.express/documentation/get-started/blazor/new-project#prerequisites)
- [Integrating PDF.js Express Viewer into an existing Blazor project - Integrate PDF.js Express Viewer](https://pdfjs.express/documentation/get-started-viewer/blazor/exist-project#integrate-pdf.js-express-viewer)

APIs:
- [UndefinedembeddedThumbnailComplete](https://pdfjs.express/api/namespaces.list.html#event:embeddedThumbnailComplete__anchor)
- [Core.Document - enableColorSeparations(options)](https://pdfjs.express/api/Core.Document.html#enableColorSeparations__anchor)
- [PDF.js Express Utilities](https://pdfjs.express/api/utils/index.html#__anchor)

Forums:
- [Pdf-js default viewer with Django](https://pdfjs.community/t/pdf-js-default-viewer-with-django/390/1)
- [Hyperlinks not being detected in pdf.js viewer](https://pdfjs.community/t/hyperlinks-not-being-detected-in-pdf-js-viewer/1925/1)
- [Pdf.js Express Viewer rendering issue on live site](https://pdfjs.community/t/pdf-js-express-viewer-rendering-issue-on-live-site/1584/1)

  
  

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)

---

<div class="post-metadata">

### Author: ![sejaz](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@sejaz](https://pdfjs.community/u/sejaz)
#### Post date: [September 29, 2022, 1:08pm UTC](https://pdfjs.community/t/invalid-arabic-characters-in-chrome-and-edge-browser-working-fine-in-mozilla-firefox/2076/4 "2022-09-29T13:08:02Z")

</div>

Somehow the pdf is rendering correctly in the Mozilla Firefox shown in the below screenshot with the same highlighted text which is not correctly rendering in the Google Chrome and Microsoft Edge browsers.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/7/79559e282a2bff5682ab4797c906ba5ea159878e.png)

---

<div class="post-metadata">

### Author: ![zserviss](https://avatars.discourse-cdn.com/v4/letter/z/a9a28c/32.png) [@zserviss](https://pdfjs.community/u/zserviss)
#### Post date: [September 29, 2022, 5:20pm UTC](https://pdfjs.community/t/invalid-arabic-characters-in-chrome-and-edge-browser-working-fine-in-mozilla-firefox/2076/5 "2022-09-29T17:20:17Z")

</div>

Hi Sejaz,

Just to make sure this is related to PDFjs Express, are you using the PDFjs Express viewer to display PDFs with this issue?

Best Regards,  
Zach Serviss  
Web Development Support Engineer  
PDFTron Systems, Inc.

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)
