- \\u: match '\u' (literal '\' has to be escaped in regular expressions), followed by
- [A-Za-z0-9]{4}: match 4 consecutive characters among 'ABCDEFabcdef0123456789'
- (...)*: match continuous runs of the above as many times as necessary
Facebook data utf-8 string decode
Hi,
I have already asked a question about this. But I could not find a solution here Facebook data decode.
As I was looking in stackoverflow, A person had linked for a javascript function to decode.
It is available in the link UTF-8 and the demo website for that code is.. UTF-8 encode/decode website
If anyone knows javascript, can you create a function in matlab to convert the UTF-8 string to a character?. For example the decoding will be like this..
"\u00f0\u009f\u0098\u009b" to 😛
"\u00f0\u009f\u0091\u008d" to 👍
"\u00e3\u0080\u0082" to 。
"\u00f0\u009f\u0098\u0082" to 😂 ....
Here how I saw that the javascript function worked in the website
decoded characters
Can anyone come up with an solution? I have been trying to solve this for days..
I have attached a json file that has been pulled out from facebook data for your reference..
0 Comments
Accepted Answer
2 Comments
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!