The automatic method of choosing the character set is done by adding a META tag to the HTML of the web page. It is placed with the header, between <HEAD> and </HEAD>, in the same general place where the TITLE goes. This tag will look like the following:
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=charset_name">
where charset_name can be gb2312, big5, utf-8.