JOHAB character lengths

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: jtvjtv(at)gmail(dot)com
Subject: JOHAB character lengths
Date: 2026-11-19 23:21:51
Message-ID: 179513051121.884075.16333294435536633083@wrigleys.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://stream.boxwatch.ru/docs/19/multibyte.html
Description:

The encodings listing in the documentation for postgres 19 shows JOHAB as
having characters that are 1-3 bytes long.

However as I understand the discussion about bug #19354, as well as the
Unicode Consortium's conversion table, JOHAB only has characters that are
1-2 bytes long.

Some of that discussion for bug #19354 went over my head —serves me right
for bringing it up!— but here's how I understand it: For some reason the
character verification function mistakenly accepted some 3-byte sequences
starting with 0x8f. However those would then still fail during conversion
to Unicode.

In the new, corrected code I would expect there to be only 1-byte and 2-byte
characters in JOHAB. In which case the entry in the encodings list needs
updating.

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2026-11-20 12:49:21 Re: Good beginner doc-hacking task: clear-text vs. cleartext vs. clear text vs. plaintext etc..
Previous Message Laurenz Albe 2026-11-19 07:18:07 Re: Introductory docs-hacking task: Example markup