> On 20 Nov 2026, at 00:21, PG Doc comments form <[email protected]> wrote:
> 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.
The thread for #19354 confirms that JOHAB sequences are 2 bytes, the relevant
portion from Wikipedia referred to in that thread is:
"KS X 1001, since 1992, also defines an alternative encoding known as
Johab. This represents a Hangul syllable as the sequence of three
five-bit values, split across two 8-bit bytes, most significant bit
first"
What is more interesting though is that #19354 was never closed with the patch
applied, only the trivial comment fixes were applied. Thanks for bringing it
up, will revive the thread.
--
Daniel Gustafsson