I am exporting unicode data using Php COM. I have written in top of my web page the below line:
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
But when I export the unicode data into a word document using Php COM, It is not coming properly like a unicode, Instood it is coming as shown below:
ಆದಿಯಲà³à²²à²¿ ದೇವರೠಆಕಾಶವನà³à²¨à³
I use the Php COM code to export the data to word document as below:
$unicode_data = "ಆದಿಯಲ್ಲಿ";
$word = new variant(com_get_active_object("word.application"));
$word->Selection->TypeText($unicode_data);
So please suggest me what else should be included to above code to get a unicode in correct format in the word document.
(From comment)
CREATE TABLE kan (
id int(15) NOT NULL AUTO_INCREMENT,
content text CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=31105 DEFAULT CHARSET=latin1