Jump to content

Language display chars


Darnel

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/242174-language-display-chars/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.