中国的Chars显示不正常

I have utf8 encoded data in Database.

The data is displayed properly in PHPMYADMIN on both local and remote databases.

I am using codeigniter and twitter bootstrap to display this Data.

The data gets displayed properly on my Local Windows computer But the same

is replaced with ���� chars on remote website.

What am i doing wrong ?

Update:

The chars are displayed properly on removing htmlentities() function from the data but what if the data contains html tags that mess up the webpage

Do you have this in the html head:

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

If not add it.

Make sure that your remote server sends the correct headers.

Content-Type: text/html; charset=utf-8

Make sure that your files in utf-8 encoding.