Обсуждение: Escape sequence for unicode characters

Поиск
Список
Период
Сортировка

Escape sequence for unicode characters

От
Didier Bretin
Дата:
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

От
Peter Eisentraut
Дата:
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