Online Shopping : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

13 of 23 people (57%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

1 - How can i change win-1256 charset to utf-8 encoding?

Mar 19th, 2008 22:00
ha mo, Amit Arora, Mohammad Asim Makki,


There are few ways you can do that.
1. If you wish to do this only for a specific page, you can include
   the following line in the html page
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
2. If you wish to change the encoding of all the pages on all the
   sites, just edit the following line in you php.ini file
default_charset = "utf-8"
   Or if you can not change the php.ini, you can use this function
ini_set('default_charset', 'utf-8');
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com