My postgres database in UTF-8 and client in UTF-8 too.
When i try to:
select xmlelement(name pampam, xmlattributes('русский' as "top"));
I get back:
<pampam top="русский"/>`
But i want get back attribute as is( i.e. in Russian UTF-8), not as р
....
How i can do this?
This is not solve problem, I use xmleliment to construct xml from data get back by queries. And i can't find another way to do this...