set html charset utf-8 code example Example: doctype html charset utf-8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>