utf8 code

 http://www.ltg.ed.ac.uk/~richard/utf-8.cgi

Choose Character, enter the characters to convert in the text box;

Example •, will give you:

Character
Character nameBULLET
Hex code point2022
Decimal code point8226
Hex UTF-8 bytesE2 80 A2 
Octal UTF-8 bytes342 200 242 
UTF-8 bytes as Latin-1 characters bytesâ <80> ¢

Then:

x <- "\u2022"

print(x)

[1] "•"

Commentaires