Description of problem:
Once designer in business-central saves bpmn2 file which uses I18n for a process name, those characters are garbled
Steps to Reproduce:
1: Start bpms
2: Create a business process whose process name is Japanese (ex: 日本語)
3: Save process
4: Shutdown bpms
5: Start bpms
6: Open the business process by designer
process name is garbled.
process name is displayed correctly.
Fixed by base64 encoding/decoding the bpmn json as it is passed from the client to the backend.
Additional fix to create valid BPMN id from the name entered by the user when BP's are initially created. Characters in the name which are invalid in id's are converted to their hex equivalent in the ID.
Verified on 6.1.0.ER2.
Japanese process name is now displayed correctly even after server restart.