On Fri, 2021-04-02 at 10:45 +0200, Pavel Stehule wrote: > I am checked an query from https://www.depesz.com/2021/04/01/waiting-for-postgresql-14-add-unistr-function/ article. > > postgres=# SELECT U&'\+01F603'; > ┌──────────┐ > │ ?column? │ > ╞══════════╡ > │ 😃 │ > └──────────┘ > (1 row) > > > The result is not correct. Emoji has width 2 chars, but psql calculates with just one char.