cancel
Showing results for 
Search instead for 
Did you mean: 

Special Character Encoding issues i.e. ā

jtsinonis
Champ in-the-making
Champ in-the-making
Hi,

Starting with the Latin Extended-A character set (http://en.wikipedia.org/wiki/List_of_Unicode_characters) Activiti stores the special characters as a question mark i.e. ?.  However, all special characters leading up to the Latin Extended-A Character character set work fine i.e. ü = \u00fc, ñ = \u00f1, á = \u00e9.

I tried the following with no luck:
=====================
1.  Created a servlet filter that would intercept all requests and responses to set the character encoding to UTF-8 
   request.setCharacterEncoding(""UTF-8"");
   response.setCharacterEncoding("UTF-8");

2.  Configured Tomcat's server.xml
   <Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

3.  Creation of tables inMySQL use:  DEFAULT CHARSET=utf8

Has anyone run into this issue?  Any ideas?

Thank you,
John
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Are you talking about the Activiti Explorer or rather the engine on itself?

If it is the ui, then if I recall correctly, adding -Dfile.encoding=UTF-8 in catalina.bat/sh or set URIEncoding="UTF-8" is on the HTTP-connector in ${catalina.home}/conf/server.xml (which you seem to have done already)