[Webkit-unassigned] [Bug 30387] Safari 4.0.3 (531.9.1) XMLHttpRequest send incorect POST data or have wrong unicode map

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 20 23:16:24 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30387





--- Comment #9 from bugzilla33 <bugzilla33 at gmail.com>  2009-10-20 23:16:24 PDT ---
UTF8 is not binary format because we can not encode any bytes sequence.
We must code binary like:
0xxxxxxx
110xxxxx 10xxxxxx
1110xxxx 10xxxxxx 10xxxxxx
etc.

UTF8 can encode diferent 65536 charakters (0 - 65535).
We can generate each of them by using the fromStringCode and decode order
number by using the charCodeAt method.

Now imagine: there is no charCodeAt method, and you wrote script to send any
UTF8 character (raw format) to server and receive order nubmer decoded server
side.
All the time we use UTF8 encoding, not binary data.
When you use Safari sometimes get erroneous results.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list