From: | John Naylor <john(dot)naylor(at)enterprisedb(dot)com> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: broken table formatting in psql |
Date: | 2022-09-01 08:00:38 |
Message-ID: | CAFBsxsF40dCfv4pTtzcB8h7OTJVf7H8ud_kJzqZTJwPRobJrJA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Sep 1, 2022 at 2:13 PM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> problem is in bad width of invisible char 200E
I removed this comment in bab982161e since it didn't match the code.
I'd be interested to see what happened after v12.
- * - Other format characters (general category code Cf in the Unicode
- * database) and ZERO WIDTH SPACE (U+200B) have a column
width of 0.
UnicodeData.txt has this:
200B;ZERO WIDTH SPACE;Cf;0;BN;;;;;N;;;;;
200C;ZERO WIDTH NON-JOINER;Cf;0;BN;;;;;N;;;;;
200D;ZERO WIDTH JOINER;Cf;0;BN;;;;;N;;;;;
200E;LEFT-TO-RIGHT MARK;Cf;0;L;;;;;N;;;;;
200F;RIGHT-TO-LEFT MARK;Cf;0;R;;;;;N;;;;;
So maybe we need to take Cf characters in this file into account, in
addition to Me and Mn (combining characters).
--
John Naylor
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Junwang Zhao | 2022-09-01 08:18:49 | use NoLock instead of the magic number 0 |
Previous Message | Richard Guo | 2022-09-01 07:29:48 | Re: struct Trigger definition in trigger.sgml |