Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Please post your discussion in a relevant topic, as follows:
Hi,JOGET.
I use joget V2 release.
I already set default character set utf8 on mysql.ini.
When i upload a file and save the task,the chinese display wrong.
When i did not upload a file and save the task,the chinese display right.
How can i do?
Hi,
I've tried the same steps and got the same result. Tracing the issue, it seems that the problem is a bug in Spring Framework that somehow skips parameter encoding when uploading a https://jira.springframework.org/browse/SPR-6247 (file: https://jira.springframework.org/browse/SPR-6247" originalalias="file: https://jira.springframework.org/browse/SPR-6247" >file: https://jira.springframework.org/browse/SPR-6247
Hmm, will be looking to find possible workarounds for this.
Btw, this is related to the Form Builder, so might be a good idea to discuss this in the Using Form Builder page instead in future.
I downloaded the spring framework 2.5.4 source code and found the file of CommonsFileUploadSupport.java.
I modified it by the solution(SPR-6247.patch) that it was on the website https://jira.springframework.org/browse/SPR-6247.
I complied it on netbean 6.9.1 and let the CommonsFileUploadSupport classe files replaced the old files onspring-webmvc-2.5.4.jar which was in the path(C:\Joget-v2\apache-tomcat-6.0.18\webapps\wflow-wfweb\WEB-INF\lib).
But the problem was still exist.
There's a workaround for the Spring encoding bug, and it's committed into trunk of the source repository (revision 663)
Hope this helps!
4 Comments
panyg
Hi,JOGET.
I use joget V2 release.
I already set default character set utf8 on mysql.ini.
When i upload a file and save the task,the chinese display wrong.
When i did not upload a file and save the task,the chinese display right.
How can i do?
Julian
Hi,
I've tried the same steps and got the same result. Tracing the issue, it seems that the problem is a bug in Spring Framework that somehow skips parameter encoding when uploading a https://jira.springframework.org/browse/SPR-6247 (file: https://jira.springframework.org/browse/SPR-6247" originalalias="file: https://jira.springframework.org/browse/SPR-6247" >file: https://jira.springframework.org/browse/SPR-6247
Hmm, will be looking to find possible workarounds for this.
Btw, this is related to the Form Builder, so might be a good idea to discuss this in the Using Form Builder page instead in future.
panyg
Hi,
I downloaded the spring framework 2.5.4 source code and found the file of CommonsFileUploadSupport.java.
I modified it by the solution(SPR-6247.patch) that it was on the website https://jira.springframework.org/browse/SPR-6247.
I complied it on netbean 6.9.1 and let the CommonsFileUploadSupport classe files replaced the old files onspring-webmvc-2.5.4.jar which was in the path(C:\Joget-v2\apache-tomcat-6.0.18\webapps\wflow-wfweb\WEB-INF\lib).
But the problem was still exist.
How can i do?
Julian
Hi,
There's a workaround for the Spring encoding bug, and it's committed into trunk of the source repository (revision 663)
Hope this helps!