🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #230554

Re: ZF2 + Doctrine + collation = porazka

#230554
From: Hoozar
Date: Wed, 10 Sep 2014 06:22
15 lines
1789 bytes
W dniu 09.09.2014 o 18:02, Borys Pogoreło pisze:
> Dnia Tue, 09 Sep 2014 14:16:44 +0200, Hoozar napisał(a):
>
>>> spoko i tak nie wiemy
>> heh, czuje przemozna potrzebe zgloszenia tego jako bug.
>
> To jest udokumentowane zachowanie:
> http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/faq.html#how-do-i-set-the-charset-and-collation-for-mysql-tables
>
I tak i nie. Tak - bo trzeba odpowiednio skonfigurować bazę, żeby 
uzyskać odpowiednie collation. Nie - bo w źródłach Doctrine jest wpisane 
na sztywno 'utf8_unicode_ci'. Nie da się tego zmienić np. opcjami 
tabeli, bo JoinTable nie ma takiego parametru. Jeśli teraz będę chciał 
mieć bazę w innym collation czy w innym kodowaniu to i tak się wszystko 
wywali :-(
Technical Details
Message-ID: <luoqq0$cu8$1@usenet.news.interia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.interia.pl!not-for-mail
References: <lumnq1$la$2@usenet.news.interia.pl> <lumnro$la$3@usenet.news.interia.pl> <lumpoa$3or$1@node2.news.atman.pl> <lumr3b$805$1@usenet.news.interia.pl> <1a4hqjvn5bpc5$.18pkpldbomhpo$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.interia.pl!not-for-mail
From: Hoozar <hoozar@interia.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: ZF2 + Doctrine + collation = porazka
Date: Wed, 10 Sep 2014 08:22:58 +0200
Organization: INTERIA.PL S.A.
Lines: 15
Message-ID: <luoqq0$cu8$1@usenet.news.interia.pl>
References: <lumnq1$la$2@usenet.news.interia.pl> <lumnro$la$3@usenet.news.interia.pl> <lumpoa$3or$1@node2.news.atman.pl> <lumr3b$805$1@usenet.news.interia.pl> <1a4hqjvn5bpc5$.18pkpldbomhpo$.dlg@40tude.net>
NNTP-Posting-Host: 188.123.220.84
Mime-Version: 1.0
X-Trace: usenet.news.interia.pl 1410330240 13256 188.123.220.84 (10 Sep 2014 06:24:00 GMT)
X-Complaints-To: usenet@firma.interia.pl
NNTP-Posting-Date: Wed, 10 Sep 2014 06:24:00 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.0
In-Reply-To: <1a4hqjvn5bpc5$.18pkpldbomhpo$.dlg@40tude.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit