]> git.openstreetmap.org Git - rails.git/commit
Force the X-Page-Title value to be treated as UTF-8
authorTom Hughes <tom@compton.nu>
Sun, 1 Dec 2013 20:31:48 +0000 (20:31 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 1 Dec 2013 20:31:48 +0000 (20:31 +0000)
commit248d0b863cde44881574ef01b974afeb2cad12e9
treef4b63d090e8a40fec88779464fb74eeca1dd36b0
parent61bb31ebdddc9e7c317a1c6784a68874d5a0ef80
Force the X-Page-Title value to be treated as UTF-8

This is basically a black magic hack to get javascript to treat
a string as UTF-8 and decode it to the correct form.

http://monsur.hossa.in/2012/07/20/utf-8-in-javascript.html
app/assets/javascripts/index.js