# Onebox breaks if there's chinese text in URL

**URL:** https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364
**Category:** Bug
**Created:** [03.Август.2017 07:48:56 UTC](https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364 "2017-08-03T07:48:56Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [22.Август.2017 08:34:27 UTC](https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364/13 "2017-08-22T08:34:27Z")

</div>

Hmm OK I see what is happening here. `FinalDestination` is given

`https://ru.wikipedia.org/wiki/%D0%A1%D0%B2%D0%BE%D0%B1%D0%BE%D0%B4%D0%BD%D0%BE%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%BD%D0%BE%D0%B5_%D0%BE%D0%B1%D0%B5%D1%81%D0%BF%D0%B5%D1%87%D0%B5%D0%BD%D0%B8%D0%B5`

instead of

`https://ru.wikipedia.org/wiki/Свободное_программное_обеспечение`

For the first case we end up escaping the `%`sign.. Hmm will need to figure out the format given to `FinalDestination` because the `url` passed to it is sometimes not escaped.

---

_[View the full topic](https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364)._
