请建议我如何在postgresql中实现此目标
select replace (INITCAP((encode(decode((
CONCAT_WS('',REPLACE (REPLACE (REPLACE (INITCAP ('Györgyi'), CHR (13), CHR (13)),CHR (10),CHR (10)), CHR (9),CHR (9))
,REPLACE (REPLACE (REPLACE (INITCAP ('Gégény'), CHR (13),CHR (13)),CHR (10),CHR (10)), CHR (9),CHR (9))
)),'escape'),'escape'))) , CHR (10), CHR (10)) AS Name;
当前输出-Gy\303\266rgyig\303\243\302\251g\303\243\302\251ny
预期输出-Gyorgyi Gacgacny