olbers / iui

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

International characters support / special signs / multilanguage support #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a form with input fields
2. Enter some international characters
3. Submit the form

What is the expected output? What do you see instead?
The submitted values replaced the characters with something like []

What version of the product are you using? On what operating system?
REL-0.13 on Windows Vista

Please provide any additional information below.

Original issue reported on code.google.com by klopp...@hotmail.com on 17 Dec 2007 at 8:27

GoogleCodeExporter commented 9 years ago
I managed to resolve this by altering the function encode(input).
Instead of using "escape" i replaced it with encodeURIComponent and now it 
works.

Original comment by klopp...@hotmail.com on 18 Dec 2007 at 12:35

GoogleCodeExporter commented 9 years ago
this solution does indeed work.

Original comment by siebertm85 on 24 Feb 2009 at 6:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
A same issue and the same solution
Furthermore I would ask to add this patch to the next release
(same problem discussed in issue 105)

Index: iui/iui.js
===================================================================
--- iui/iui.js  (revision)
+++ iui/iui.js  (working copy)
@@ -511,7 +511,7 @@
         for (var i = 0; i < inputs.length; ++i)
         {
             if (inputs[i].name)
-                args.push(inputs[i].name + "=" + escape(inputs[i].value));
+                args.push(inputs[i].name + "=" + 
encodeURIComponent(inputs[i].value));
         }
     }

Original comment by xsund...@gmail.com on 13 Aug 2009 at 7:34

GoogleCodeExporter commented 9 years ago
Issue 105 has been merged into this issue.

Original comment by kaisergi...@googlemail.com on 13 Aug 2009 at 7:58

GoogleCodeExporter commented 9 years ago
Issue 120 has been merged into this issue.

Original comment by kaisergi...@googlemail.com on 13 Aug 2009 at 7:59

GoogleCodeExporter commented 9 years ago

Original comment by kaisergi...@googlemail.com on 13 Aug 2009 at 8:01

GoogleCodeExporter commented 9 years ago

Original comment by msgilli...@gmail.com on 25 Sep 2011 at 11:39