html set character encoding code example Example: html set character encoding <meta charset="UTF-8" />