Re: psql display of Unicode combining characters in 8.2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql display of Unicode combining characters in 8.2
Date
Msg-id 24385.1165799534@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql display of Unicode combining characters in 8.2  (Michael Fuhr <mike@fuhr.org>)
Responses Re: psql display of Unicode combining characters in 8.2
List pgsql-hackers
Michael Fuhr <mike@fuhr.org> writes:
> On Sun, Dec 10, 2006 at 12:30:12PM -0500, Tom Lane wrote:
>> Martijn van Oosterhout <kleptog@svana.org> writes:
>>> On Sat, Dec 09, 2006 at 10:50:05PM -0700, Michael Fuhr wrote:
>>>> Should the code distinguish between combining characters and
>>>> zero-width control characters so the former display correctly?
>> 
>>> Probably, any idea how to tell the difference?
>> 
>> I'm no expert, but isn't there a specific range of Unicode code points
>> defined for combining characters?

> Yes, several, with others scattered about.

What about the other way around: use the \u output convention only for
things we can specifically identify as control chars, and assume that
anything else with zero width is a combining char?  Is there anything
other than 0-31 and 128-159 that should really get the \u treatment?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: 8.2 Partition lock changes and resource queuing.
Next
From: Tom Lane
Date:
Subject: Re: 8.2 Partition lock changes and resource queuing.