This question already has an answer here:
- Convert escaped Unicode character back to actual character in PostgreSQL 1 answer
I am loading data dump from external source and some strings contain \uXXXX
sequences for the UTF8 chars, like this one:
\u017D\u010F\u00E1r nad S\u00E1zavou
I can check the contents by using E'' constant in psql
, but cannot find any function/operator to return me proper value.
I'd like to ask, if it's possible to convert this string with unicode escapes into normal UTF8 without using PL/pgSQL functions?