AnsweredAssumed Answered

Unicode text in generated process diagram is broken. How to fix it?

Question asked by mamoru83 on Oct 26, 2017

Hello.

 

I generated process diagram using repository service.

I am using Korean in my bpmn file.

I attached my bpmn file. (File name is myprocess.bpmn20.xml)

 

For generating process diagram. My code is here.

   

Generating Inputstream
InputStream imageStream = repositoryService.getProcessDiagram(processDefinitionId);

try
{
byte[] b = new byte[1024];
int len;

while ( (len=imageStream.read(b, 0, 1024)) != -1 )
{
response.getOutputStream().write(b, 0, len);
}
}
catch (Exception e)
{
e.printStackTrace();
}

 

Generating diagram result is here.

 

 

Element text was broken.

 

I checked activiti-explorer and see the broken, too.

 

 

How to fix this situation. My activiti version is 5.22.0.0.

Please help me.

 

Thanks.

Attachments

Outcomes