Broetchen1234 / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

Encoding problem when posting forms on utf-8 pages #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i18n characters will not be encoded correct.

I changed line 381 in iui.js to make it work.

From:
args.push(inputs[i].name + "=" + escape(inputs[i].value));

To:
args.push(inputs[i].name + "=" + encodeURIComponent(inputs[i].value));

escape() seems to be deprecated as well

Original issue reported on code.google.com by kimmo.bj...@gmail.com on 3 Feb 2010 at 11:10

GoogleCodeExporter commented 9 years ago
iUI 0.40-x versions use encodeURIComponent()

Original comment by msgilli...@gmail.com on 4 Feb 2010 at 6:52

GoogleCodeExporter commented 9 years ago
This magically solved my problem! thank you so much!

Original comment by hidemoto...@gmail.com on 5 Feb 2010 at 2:32

GoogleCodeExporter commented 9 years ago
I'll mark this as "Started" since iUI 0.40 isn't final yet...

Original comment by msgilli...@gmail.com on 5 Feb 2010 at 3:46

GoogleCodeExporter commented 9 years ago
Fixed in iUI 0.40.

Original comment by msgilli...@gmail.com on 23 Oct 2012 at 6:41