UTF-8

From DawglandWiki
Jump to: navigation, search

This is a great conversion utility website: Conversion Tool Website

UTF-8 character codes are referenced like this:

DOLLAR SIGN Unicode: U+0024, UTF-8: 24


Some character codes use 2 set's of codes, as in the case of the cent sign:

CENT SIGN Unicode: U+00A2, UTF-8: C2 A2


To reference the character code, always preceed it with the backslash and x, like this: \x

So, if you want to display and/or print the dollar sign, you would represent it like this: \x24


And to display and/or print the cent sign, you would represent it like this: \xc2\xa2

Personal tools