Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF-8 Encoding not working in Chrome, Safari and Firefox on Mac #228

Closed
zinkkrysty opened this issue Nov 6, 2012 · 1 comment
Closed

Comments

@zinkkrysty
Copy link

I am using the browser's console (Webkit inspector and Firebug) to reproduce this bug:

arr = [{"name": "brand", "value": "Citroën"}]
params = $.param(arr)
//=> "brand=Citro%C3%ABn"
History.replaceState(params, document.title, '?' + params)
/*=> statechange: [
Object
, "State 1", "http://balupton.github.com/history.js/demo/?brand=Citroën"] jquery.history.js:1
true
*/

I'm pretty sure %C3%AB is the UTF-8 character for ë so it should work, however the state messes it up and my script crashes.

IE8 in Windows 7 (virtual machine) works OK

I'm testing it here: http://balupton.github.com/history.js/demo

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants