equalitie / open-corroborator

Data analysis and fact corroboration
http://equalitie.github.io/open-corroborator/
7 stars 3 forks source link

Character encoding in admin panel #26

Closed florianap closed 8 years ago

florianap commented 8 years ago

\ tested with Iceweasel 38.7.0 on Debian 8, Firefox 45.0 on Fedora 23, Chromium 49.0.2623.87 on Debian 8.3 (64-bit) **

Reproduction steps

  1. Go to admin panel, and click on "Sources" to open https://demo2.corroborator.org/admin/corroborator_app/source/
  2. Click on "Add source" in the top right corner
  3. Add a source name containing cyrillic characters in "Name en:" box or containing arabic characters in "Name ar:" box (as in picture below).

add_source_arabic1

  1. Save.
  2. Go back to https://demo2.corroborator.org/admin/corroborator_app/source/
  3. Select source created with arabic title.

    Expected results

Cyrillic and arabic characters should be visible, all the more because Corroborator is localized in Russian and Arabic.

Actual results

Arabic and Cyrillic characters turn into question marks.

add_source_arabic_saved

add_source_charencoding

ggaughan commented 8 years ago

Deployed to demo2 and demo3