plperlu problem with utf8
От | Oleg Bartunov |
---|---|
Тема | plperlu problem with utf8 |
Дата | |
Msg-id | Pine.LNX.4.64.1012081803160.12632@sn.sai.msu.ru обсуждение исходный текст |
Ответы |
Re: plperlu problem with utf8
|
Список | pgsql-hackers |
Hi there, below is the problem, which I don't have when running in shell. The database is in UTF-8 encoding. CREATE OR REPLACE FUNCTION url_decode(Vkw varchar) RETURNS varchar AS $$ use strict; use URI::Escape; return uri_unescape($_[0]); $$ LANGUAGE plperlu; CREATE FUNCTION Time: 1.416 ms select url_decode('comment%20passer%20le%20r%C3%A9veillon'); url_decode ------------------------------ comment passer le rveillon ^ non-printed Regards, Oleg _____________________________________________________________ Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), Sternberg Astronomical Institute, Moscow University, Russia Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(495)939-16-83, +007(495)939-23-83
В списке pgsql-hackers по дате отправления: