The attached html file is encoded in utf-16. Loading it in Safari and pressing the submit button produces a bad query. Both parameters and values are truncated to one character. We traced part of the problem down to fixLineBreaks in FormDataList.cpp, which operates in this case on a utf-16 encoded CString and uses zero-termination for determining the end of the string instead of using the length() property of the CString. This may solve the problem only partly, it could be that other code has the same problem.
Created attachment 20290 [details] utf-16 encoded html testcase
Created attachment 20312 [details] automated test case
This was fixed in bug 21635 - we now replace UTF-16 with UTF-8 for form submission. So, my attached automated test still fails, but that's ok. *** This bug has been marked as a duplicate of 21635 ***