Hello Fellows,

I'm desperate an neeed help.
I've tried the whole night to get my
turbine application running with utf-8 support.
It's really strange. I've got problems with form submitted
data and maybe also storing and retrieving this data from
mysql in utf-8. I'm not exactly sure where the problem arises. It behaves in ways I 
dont't understand.

I stumbled through various prevouis posting 
and basicaly tried all of the suggested options without 
success.
I'm quite confused about the various options concerning 
utf-8 and couldn't find a clear explanation about how utf-8
is handled in the various stages of processing (Browser 
posting, Paramater parsing in Turbine, mysql-jdbc 
storing/retrieving, displaying with velocity...).

I really need help.
Could someone show me a way to test the involved components step by step and pinpoint 
the error.

If you neeed more information please tell me.

Thanks in advance,
Fabian

P.S.
I'm using tomcat 5.27, MySQL 4.0.18, turbine 2.3 on WindowsXP. And my options 
concerning utf-8 are for now:

torque.properties:
########
torque.defaults.connection.driver =   org.gjt.mm.mysql.Driver
torque.defaults.connection.url =        
jdbc:mysql://bernd/rulapro?useUnicode=true&characterEncoding=UTF-8&mysqlEncoding=utf8

project.properties
##############
services.VelocityService.output.encoding=UTF-8
#services.VelocityService.input.encoding=UTF-8
services.VelocityService.default.contentType=text/html; charset=utf-8
locale.default.charset=UTF-8

Parameterparsing:
############
//I'm the following to get the posted form data right now.
p = data.getParameters()
p.setCharacterEncoding("UTF-8");




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to