# Bug in displaying title with arabic character

**URL:** https://meta.discourse.org/t/bug-in-displaying-title-with-arabic-character/91798
**Category:** Bug
**Created:** [July 7, 2018, 9:06pm UTC](https://meta.discourse.org/t/bug-in-displaying-title-with-arabic-character/91798 "2018-07-07T21:06:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [July 7, 2018, 9:06pm UTC](https://meta.discourse.org/t/bug-in-displaying-title-with-arabic-character/91798/1 "2018-07-07T21:06:27Z")

</div>

The category home page view puts the arabic character in between the ‘2’ and ‘h’. The post was 2 hours old.

How the title actually looks like.

 ![SNAG-0007](https://global.discourse-cdn.com/meta/original/3X/e/b/eb2120da5c216eef0dceaa3368c19dc6b6f42775.jpg)

* * *

How its displayed in the category view.

 ![SNAG-0006](https://global.discourse-cdn.com/meta/original/3X/d/f/dff9f35a1be3bdec62dc480e17cd0bdf3b051851.jpg)

> **[\[Oakland, JLS\] Dyafa ضيافة](https://www.hungryonion.org/t/oakland-jls-dyafa/13849)**
>
> Dyafa is Reem Assil’s full service restaurant at Oakland’s Jack London Square. Had a dinner there recently. Hibaar manshi. Squid stuffed with freekeh, za’atar. That freekeh stuffing was very good- bright and savory. The rest, including the...

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 8, 2018, 6:38am UTC](https://meta.discourse.org/t/bug-in-displaying-title-with-arabic-character/91798/2 "2018-07-08T06:38:00Z")

</div>

This should be fixed by

[https://github.com/discourse/discourse/commit/9f558d7e74118d8dc0cb1db04f2b7200f5a3618c](https://github.com/discourse/discourse/commit/9f558d7e74118d8dc0cb1db04f2b7200f5a3618c)

This is a little bit touchy to modify this code, I tried various combinations an didn’t see any regression, please let me know if something doesn’t seem right.

---

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [July 8, 2018, 6:57am UTC](https://meta.discourse.org/t/bug-in-displaying-title-with-arabic-character/91798/4 "2018-07-08T06:57:44Z")

</div>

Thank you for the fix!

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 14, 2018, 4:00pm UTC](https://meta.discourse.org/t/bug-in-displaying-title-with-arabic-character/91798/5 "2018-07-14T16:00:02Z")

</div>

This topic was automatically closed after 6 days. New replies are no longer allowed.
