Improper encoding after installation


I am new to Yii (previously tried CI). I dowlnoaded new version, unzipped it, and launched reuirements page and it loks like this:

page source shows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="" xml:lang="en" lang="en">


<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

<meta http-equiv="content-language" content="en"/>

<link rel="stylesheet" type="text/css" href="css/main.css" />

<title>Sprawdzanie wymaga� przez Yii</title>


php.ini settings:

; PHP's default character set is set to empty.


 default_charset = "utf-8"

but instead of Polish diacritical signs I see these garbage. Can you help?



The polish translation wasn’t saved in utf-8 format. You can create a ticket in the translation project


So it means that no polish sings are displayed now? SO why someone wrote this test text in Polish language in this view "requirements"…

I believe I can achieve polish signs in strict PHP5, I could in CI but why not in Yii? I am not talking about translating core messages into Polish language - English is OK. But how can I display polish signs in any application written in Yii?

Suppose I want application that renders in HTML

Witaj Świecie

which means:

Hello World

Is this doable?

You asked a question about the requirements page. For i18n in your application read more in the guide:

and also see this cookbook article:


… and this: