cancel
Showing results for 
Search instead for 
Did you mean: 

About Task forms encoding...

jcosano
Champ in-the-making
Champ in-the-making
Since I installed RC1 I have problems with Activiti Explorer and encoding.

I need use ISO-8859-15

I put in catalina.bat (windows environment)

set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% -Dfile.encoding=ISO-8859-15

but no works…

I put "bin" and "conf" folder (tomcat)  from activiti beta2 (that works fine for me) but error continue…

You known if application force a UTF-8 encoding?

thanks!
15 REPLIES 15

jcosano
Champ in-the-making
Champ in-the-making
All ok except last point…

Informació looks fine… in task list but not when form is rendered.

I attach an image

frederikherema1
Star Contributor
Star Contributor
Okay, thanks. Here's the jira, so you can track it: http://jira.codehaus.org/browse/ACT-316

jcosano
Champ in-the-making
Champ in-the-making
Thanks…

jcosano
Champ in-the-making
Champ in-the-making
http://jira.codehaus.org/browse/ACT-316 is marked to be fix later…

Can I do something to avoid this problem? Now forms are not compatible with spanish or catalan.
For literal I can escape with html escape tags, but can i do something with variables?

Maybe a translator that replaces letter for its escape value?

(In beta2 this problem not occurs)


or can I hack code… changing utf-8 to iso-8859-15?

jcosano
Champ in-the-making
Champ in-the-making
Anyone has same problem?

If i modify

ActivitiStreamingWebScript.streamResponse

and add
res.setContentEncoding("ISO-8859-15")

what do you think?

jcosano
Champ in-the-making
Champ in-the-making
Hacked…

Now forms are show fine Smiley Very Happy