[OGo-Developer] multipart/form-data and text encoding

Stéphane Corthésy developer@opengroupware.org
Thu, 23 Aug 2007 19:04:57 +0200


Hi,

I think I had the same kind of problem with WebObjects, and solved it  
by setting the 'accept-charset' attribute on the form element: this  
tells the client to use the passed charset, not a 'random' (server's  
POV) one.

Stéphane


On Aug 23, 2007, at 12:09 AM, Wolfgang Sourdeau wrote:

> Hi all,
>
>
> We are using UTF-8 everywhere in SOGo. However Firefox and IE do  
> not seem to specify the charset of the information they send when  
> POSTing a form.
>
> I have filled a bugreport with regard to that issue here:
> http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1868
>
> I don't know whether this has been handled. I think there was  
> mention of modifying the parsers instead during one of my  
> discussions with Helge Hess.
>
> Regarding the specific case of multipart/form-data input fields,  
> the problem arises again.
> I have thus filled another bug report and a patch as attachment:
> http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1903
>
> Since I have doubts with regards to the correct handling of that  
> case, I would appreciate if somebody who is more familiar with that  =

> code could review it, and maybe apply it.
>
>
> Thanks
>
>
> Wolfgang
> -- 
> OpenGroupware.org Developer
> developer@opengroupware.org
> http://mail.opengroupware.org/mailman/listinfo/developer