Dominic Mitchell <[EMAIL PROTECTED]> writes: > Gisle Aas wrote: > > Dominic Mitchell <[EMAIL PROTECTED]> writes: > >>I'm trying to upload a file to a server, but it's failing because the > >>content-length is incorrect. This is because the content is UTF-8 and > >>length() is reporting characters, not bytes. > > You are not supposed to provide content with chars outside the 0..255 > > range. > > Bother. Is that documented anywhere?
Not really, but I do think it should have been. Documentation patches are always welcome. Regards, Gisle
