Is it any function in postgres sql to convert non ascii characters to unicode e.g. polish letter ż to \u017C?
I've tried to use encode and convert_from build postgres functions but without any results.
Is it any function in postgres sql to convert non ascii characters to unicode e.g. polish letter ż to \u017C?
I've tried to use encode and convert_from build postgres functions but without any results.
Copyright © 2021 Jogjafile Inc.
Just use
ASCII()coupled withto_hex(). Finally theconcat()will get you your required unicode.For additional characters, you may have to improvise using
substring()