Escape sequence for unicode characters

Started by Didier Bretinover 22 years ago2 messagesgeneral
Jump to latest
#1Didier Bretin
dbr@informactis.com

Hello,

Is there some escape sequence for using unicode characters in command line psql ?
For example in HTML there is &#007e; for the c-cedilla. Is there the same thing
with postgresql ?

Regards.
--
.------------------------------------------------.
.^. | Didier Bretin, France | dbr@informactis.com |
/V\ |-----------------------| www.informactis.com |
// \\ | `------------------------|
/( )\ | Visit: http://www.vim.org/ |
^^-^^ `------------------------------------------------'

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Didier Bretin (#1)
Re: Escape sequence for unicode characters

Didier Bretin writes:

Is there some escape sequence for using unicode characters in command line psql ?
For example in HTML there is &#007e; for the c-cedilla. Is there the same thing
with postgresql ?

Unfortunately not, but you can UTF-8 encode it yourself and enter the byte
sequences using the octal escapes (\123).

--
Peter Eisentraut peter_e@gmx.net