Re: text column constraint, newbie question
От
Daniel Verite
Тема
Re: text column constraint, newbie question
Дата
Msg-id
806481e3-77b4-4448-9f8f-12fec844cde5@mm
Ответ на
Re: text column constraint, newbie question (Stephen Cook)
Список
Дерево обсуждения
Re: text column constraint, newbie question RebeccaJ <rebeccaj@gmail.com>
Re: text column constraint, newbie question Ivan Sergio Borgonovo <mail@webthatworks.it>
Re: text column constraint, newbie question Craig Ringer <craig@postnewspapers.com.au>
Re: text column constraint, newbie question "Daniel Verite" <daniel@manitou-mail.org>
Re: text column constraint, newbie question Stephen Cook <sclists@gmail.com>
Re: text column constraint, newbie question "Daniel Verite" <daniel@manitou-mail.org>
Re: text column constraint, newbie question Alban Hertroys <dalroi@solfertje.student.utwente.nl>
Re: text column constraint, newbie question Scott Marlowe <scott.marlowe@gmail.com>
Stephen Cook wrote: > Daniel Verite wrote: > > Note that htmlentities() expects LATIN1-encoded strings and is thus > > unusable on UTF-8 contents. > > So if you end up talking UTF-8 with the database, you'll probably need > > to use htmlspecialchars() instead, and UTF-8 as your HTML charset. > > > I believe you are wrong, at least the PHP documentation says otherwise > and it _seems_ to work for me (http://us2.php.net/htmlentities). Maybe > you are thinking about an older version? You're right, I've missed the fact that they added support for other character sets at some point in php4. Now I know :) Best regards, -- Daniel PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org
В списке pgsql-general по дате отправления