Sorry,
this is not a DbForm problem !! ;^)
Luca
Luca Fossato wrote:
> Hi,
>
> I'd like to know If there is a method to handle accented characters
> (�, �, �, etc) in DbForms (with JSP1.1 / Servlet 2.2).
>
> I played with the "org.dbforms.util.MultipartRequest" class source to
> try to retrieve and decode a request parameter value (from a multipart
> form)
> according to the the locale character-set (using
> paramPart.getStringValue(myCharcterSet) instead of
> paramPart.getStringValue()).
> Then I tried to force the jsp content type using (example)
>
> response.setContentType("text/html; charset=ISO-8859-1")
> ... or UTF-8 ...
>
> Nope!
>
> Accented characters into DbForms varchar-mapped fields are converted
> and stored into the underlying database (Postgresql 7.2) as '?'
> characters.
> (If I use a db client, I can store the accented characters correctly).
>
> Any clue ?
>
> Thank You,
> Luca
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms