General > How Tos

How to change character encoding in the file


You can set character encoding using two ways:

[1] Using META:

To set character encoding using META, you willl just need to add following line in your <head> tag:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

[2] Using XHTML:

Using XHTML, define the first line as follow:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">



[0] Message Index

Go to full version