logo       

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

java.enhydra.general

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

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
üäßö 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="post" action="MainPageOfDiscussionForAssistant.html"
name="FileUpload" id="FormMethod" enctype="multipart/form-data;
charset=utf-8">
...

And I'm using this class to handle the MultipartMime:
...
MultipartMimeInput mime = 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 enhydra@xxxxxxxxxxxxx mailing
list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing
list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise