N
Nikola Skoric
What I have is a bunch of text in arabic, and series of Unicode bytes
which represent those arabic words (like this: \'c2\'e4\'f6\'d3\'f3\'c9
\'f1). Now I have to figure out how to convert my arabic text to bunch
of \'somethings. If I understood Unicode correctly (and I'm not sure if
I did), I first have to figure out which encoding this is (UTF-16 or
UTF-32 or some other) and then convert the letters to their byte
representation. I think I could figure out the first part by chance (by
trying every encoding and comparing to the result I already have), if
only I knew how to do the second part.
So, my question is, how to convert an Unicode character into its byte
representation?
which represent those arabic words (like this: \'c2\'e4\'f6\'d3\'f3\'c9
\'f1). Now I have to figure out how to convert my arabic text to bunch
of \'somethings. If I understood Unicode correctly (and I'm not sure if
I did), I first have to figure out which encoding this is (UTF-16 or
UTF-32 or some other) and then convert the letters to their byte
representation. I think I could figure out the first part by chance (by
trying every encoding and comparing to the result I already have), if
only I knew how to do the second part.
So, my question is, how to convert an Unicode character into its byte
representation?