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 name | BULLET |
| Hex code point | 2022 |
| Decimal code point | 8226 |
| Hex UTF-8 bytes | E2 80 A2 |
| Octal UTF-8 bytes | 342 200 242 |
| UTF-8 bytes as Latin-1 characters bytes | â <80> ¢ |
Then:
x <- "\u2022"
print(x)
[1] "•"
Commentaires
Enregistrer un commentaire