I have this string = "mم";
I want to get get the Hex of it
but if the character is English then UTF-8 should be used and the hex should be "6d"
if the character is Arabic then UCS-2 should be used and the hex should be "0645"
so in the end it should be
Hex of "mم" is "6d0645"
Steps I want
1) Count number of of charterers in UTF-8 and UCS-2
2) Get the hex for each one
3) combine the hex
Hey there, I would love to help you with this interesting task. I am available to start right away, and have this done in the next hour. Best regards, Albin.