How to have some UTF-8 text in PhP file?, I cant save the file with UTF-8 text in it.I |
How to have some UTF-8 text in PhP file?, I cant save the file with UTF-8 text in it.I |
Conoco |
Jul 10 2010, 12:09 AM
Post
#1
|
Newbie Group: Members Posts: 14 Joined: 11-May 10 Member No.: 11,837 |
Hello, I want to add some UTF text into my php file but the text after when i save it looks like scrambled text nonsense.
Here is the part of my code: CODE <?php defined('_VALID') or die('You shall not pass!!'); $seo = array(); $seo['index_title'] = 'utf-8 text in here'; Any ideas on what to do? Is there any command i can put like in html there is: CODE <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Thank you for your time. This post has been edited by Conoco: Jul 10 2010, 12:10 AM |
Lo-Fi Version | Time is now: 26th April 2024 - 04:28 AM |