Re: BUG #14454: xmlelement doesn't support encoding

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: xammett(at)gmail(dot)com
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14454: xmlelement doesn't support encoding
Date: 2016-12-07 16:01:28
Message-ID: CAFj8pRDvveU3uEHp9kZ3X0xOS9zqQDNXChwDcoNtSmvPzXAr5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi

2016-12-07 16:27 GMT+01:00 <xammett(at)gmail(dot)com>:

> The following bug has been logged on the website:
>
> Bug reference: 14454
> Logged by: Vyacheslav Blinov
> Email address: xammett(at)gmail(dot)com
> PostgreSQL version: 9.6.1
> Operating system: ubuntu
> Description:
>
> if you try to execute this code - you are return something strange
> symbols.
> this is a bug. please,fix it.
> SELECT xmlelement(name foo, xmlattributes( 'фыв'as a));
>

This is not a bug. The libxml2 - the base for XML support in Postgres - use
html encoding for attribute values

I read one FAQ where this issue was described, but I cannot to find now

Regards

Pavel Stehule

>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message kzheng1 2016-12-08 03:32:02 BUG #14455: pg_upgrade fails with error
Previous Message xammett 2016-12-07 15:27:10 BUG #14454: xmlelement doesn't support encoding