Thread: Escape sequence for unicode characters

Escape sequence for unicode characters

From
Didier Bretin
Date:
Hello,

Is there some escape sequence for using unicode characters in command line psql ?
For example in HTML there is e; 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/                     |
   ^^-^^    `------------------------------------------------'

Re: Escape sequence for unicode characters

From
Peter Eisentraut
Date:
Didier Bretin writes:

> Is there some escape sequence for using unicode characters in command line psql ?
> For example in HTML there is e; 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