How to html-decode a html-encoded field

Поиск
Список
Период
Сортировка
От JORGE MALDONADO
Тема How to html-decode a html-encoded field
Дата
Msg-id CAAY=A7-PGBxQXJxVo2djnOKgwGd+0=bKjmG8_FHfOEFn1dSjbQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to html-decode a html-encoded field  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-sql
I have a table with a varchar field, such a field is HTML ENCODED. So, for example, the string "PLAIN WHITE T'S" is saved as "PLAIN WHITE T&#39;&#39;S" (double quotes are not part of the string, I use them for clarity only). I need to perform a SELECT statement on this table and get the values HTML DECODED and I wonder if there is a function that I can include in such a statement for this purpose, for example "SELECT htmldecode(fld1) FROM table1". I will appreciate anu comments about my issue.

Respectfully,
Jorge Maldonado

В списке pgsql-sql по дате отправления:

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: syntax of joins
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: How to html-decode a html-encoded field