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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.