pc131
(Skoczy)
July 28, 2010, 11:00am
1
Hi
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<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>
</head>
php.ini settings:
; PHP's default character set is set to empty.
; http://php.net/default-charset
default_charset = "utf-8"
but instead of Polish diacritical signs I see these garbage. Can you help?
regards
Tom
tri
(tri - Tommy Riboe)
July 28, 2010, 11:28am
2
The polish translation wasn’t saved in utf-8 format. You can create a ticket in the translation project http://code.google.com/p/yiidoc/
/Tommy
pc131
(Skoczy)
July 28, 2010, 11:37am
3
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?
tri
(tri - Tommy Riboe)
July 28, 2010, 1:11pm
4
pc131:
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:
http://www.yiiframework.com/doc/guide/topics.i18n
and also see this cookbook article:
http://www.yiiframework.com/doc/cookbook/26/
/Tommy
mikl
(Mike)
July 28, 2010, 2:02pm
5