Re: [enhydra] Problem with UTF-8 and POST method in EE 6.3

Slobodan Vujasinovic <[email protected]> Wed, 31 Aug 2005 14:48:19 +0200
Newsgroups gmane.comp.java.enhydra.general
Organization PROZONE
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1125492713-10599-103
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Lofi,

please try with

comms.request.getHttpServletRequest().setCharacterEncoding("utf-8");

before reading POST request parameters!

Regards,
  Slobodan Vujasinovic
Enhydra Development Team



Lofi Dewanto wrote:

> Hi All,
>
> I have a problem with UTF-8 with German chars like
> =FC=E4=DF=F6 with HTML forms (POST method) with Enhydra Enterprise 6.3.
> My HTML forms always send wrong characters to the server...
>
> There is no problem with GET method and UTF-8. Everything
> work well...
>
> Here is the HTML file:
> ...
> <form method=3D"post" action=3D"MainPageOfDiscussionForAssistant.html"
> name=3D"FileUpload" id=3D"FormMethod" enctype=3D"multipart/form-data;
> charset=3Dutf-8">
> ...
>
> And I'm using this class to handle the MultipartMime:
> ...
> MultipartMimeInput mime =3D new MultipartMimeInput(input, contentHdr);
> ...
>
> Can some UTF experts tell me how to handle POST method (with upload
> file and UTF-8) within Enhydra?
>
> Any helps are really appreciated!
>
> Thanks a lot!
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the [email protected] mail=
ing list.
>To unsubscribe: mailto:[email protected]
>For general help: mailto:[email protected]?subject=3Dhelp
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>=20=20
>


------------=_1125492713-10599-103
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1125492713-10599-103--