How we can store special character in unit in measurement

Hi Team,
I need to store unit in measurement API and units contain special character when like ‘µS’ what is the best way to store it in cumulocity??

Thanks,
Himanshu Agarwal.

The Cumulocity APIs support UTF-8 and the unit inside the measurement is just a String.
There should be no issue in storing ‘µS’ and also if you query the data it is returned correctly.

�S I am getting this

I have tried to store file in binary format still I have got the same and when I have tried to insert it through java program so i have got the same

Can you share the code snippet or the call that you are doing. Most likely it is not encoded correctly before sending. When you send the request you need to make sure that it is UTF-8 encoded.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.