Darnel Posted July 17, 2011 Share Posted July 17, 2011 Hi, I have a weather script from google but I'm having some trouble figuring out how to set the language to display special characters such as ū,ė and so on. This code sets the language to my desired one. function __construct() { $this->lang = lt; // sets the language I also have this code <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> So the rest of the website displays normal. Is there some PHP code I can use in the script? to set it to utf-8? or something? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/242174-language-display-chars/ Share on other sites More sharing options...
$php_mysql$ Posted July 17, 2011 Share Posted July 17, 2011 could i see ur site Quote Link to comment https://forums.phpfreaks.com/topic/242174-language-display-chars/#findComment-1243663 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.