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

Lofi Dewanto <[email protected]> Wed, 31 Aug 2005 16:20:41 +0200
Newsgroups gmane.comp.java.enhydra.general
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1125497977-10599-132
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi João,

thanks a lot for your hints!

<quote>
In my case the problem was that the bytes was transformed in to String 
without explicit encoding.
</quote>

Yes, I think this is my problem too, since it works with GET and
only in POST I have to transform the bytes to String by myself...

My questions now:

1) So I don't need to add "charset=utf-8" in my form method?
Should it stay like this?
<form method="post" action="" name="FileUpload" id="FormMethod" 
enctype="multipart/form-data">

2) Where do you get this constant?
HttpUtils.ENCODING
I cannot find it...

Another question: Is there any Enhydra utility class to handle
POST method easily and taking care of such things like above?
IMO, everyone use POST method in HTML forms, so would be great
if we don't have to write such a method by ourself... :-)

Thanks a lot and cheers,
-- 
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
OpenUSS - Open University Support System
http://openuss.sourceforge.net
---------------------------------------------------
E-Mail   : [email protected]
---------------------------------------------------



------------=_1125497977-10599-132
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

------------=_1125497977-10599-132--