Btw, I've discovered the problem with charsets while doing bytes -> characters conversation. Everything works correct in Windows, but in Linux some characters (windows-1257 character specific quotes) are written to the database incorrect. I tried to feed Tomcat with different LC_ALL and LANG settings but it didn't help. I guess it could also be a bug in JDK (1.4.2_05), but maybe there is a way to define a "sytem default" charset somewhere in ApplicationResources.properties? We could then pass the parameter into Readers's or Writer's constructor something like:

Are you using the org.dbforms.util.external.SetCharacterEncodingFilter which sets the charset in doFilter()? If so, what about using request.getCharacterEncoding();


Most of us using charsets use this filter, and I would rather just have to configure the charset in one place (the filter) and not two (filter + ApplicationResources.properties).

BufferedReader br = new BufferedReader(new InputStreamReader(blob.getBinaryStream(), getCharset()));




--
Shawn

Karma is immutable, so act accordingly!



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to