Internationalization of task commnets using Camunda rest-engine

Hello,
I setup Camunda as a web-service in tomcat and connect to it via my .NET web application.
When I create comment on task with following rest API

POST /task/{id}/comment/create

with message in Unicode (Persian), for example “این نمونه است”
and I got the correct message in response request. Also the comment is saved in persian correctly in the camunda database.
But when I get the comment using this API

GET /task/{id}/comment/{commentId}

I got message as “?? ???”
I tried it with postman and got same result.
I also set the JAVA_TOOL_OPTIONS=“-Dfile.encoding=UTF-8” in tomcat but it does not solve it.
I am wonder what is the root of problem?

Thanks in advance

Hi @Simin,

It looks like a bug in the get request of /comment sub-resource.

1 Like

Hello @hassang
Thanks for your reply, yes I think so.
Who can fix it?

Can you file a bug report on GitHub for this issue? If you’re the bug filer, you will get notifications of comments, etc. and when the issue is resolved.

Best Regards,
dg

2 Likes

Sure, where is the repository for Camunda rest-engine?

Thanks
Best regards

This GitHub repository is a good place.

dg

Thank you

Best regards,
Simin

I file the bug here:
https://jira.camunda.com/browse/CAM-14125

Thanks

1 Like