Re: Dangers of non-UTF-8 Re: Details on internal encoding declarations

On May 23, 2008, at 1:15 PM, Henri Sivonen wrote:

> Note: When the document is not encoded as UTF-8, IRIs are not  
> converted to URIs properly and to data loss happens in form  
> submissions when the user enters characters that cannot be mapped to  
> bytes using the encoding of the document.


FWIW, Firefox and Safari (not sure about IE) encode form data using  
numeric entities in this case, so data loss doesn't happen. Not all  
servers handle this correctly, but some do (e.g. http://www.google.ru/search?q=%26%231090%3B%26%231077%3B%26%231089%3B%26%231090%3B) 
.

- WBR, Alexey Proskuryakov

Received on Friday, 23 May 2008 10:49:59 UTC