public inbox for [email protected]
help / color / mirror / Atom feedFrom: Thomas Munro <[email protected]>
To: [email protected]
To: [email protected]
Cc: Bryan Green <[email protected]>
Subject: Re: BUG #19539: psql 17.6 on Windows 11 prints random garbage characters in Russian localized output of \d
Date: Wed, 1 Jul 2026 14:36:05 +1200
Message-ID: <CA+hUKGL8ouZGAvGLb4uSxqVYxmS1tOjYOWgPo_P_pSmOhYeUpw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
On Tue, Jun 30, 2026 at 3:12 AM PG Bug reporting form
<[email protected]> wrote:
> When running \d <table> in Russian localization, the output sometimes
> contains random garbage Unicode characters immediately after the localized
> header "По умолчанию".
>
> Example:
>
> Таблица "public.articles"
> Столбец | Тип | Правило сортировки | Допустимость NULL | По умолчанию
> ⫐鄢ʧ
>
> The garbage characters change every execution.
Do any other languages show clues? Could you please try Ukrainian,
Greek, Japanese?
#: describe.c:2070 describe.c:4572
msgid "Default"
msgstr "По умолчанию"
headers[cols++] = gettext_noop("Default");
That is then fed through pg_wcsformat(). I wonder if that could be
confused about encodings and NUL terminators or something, but I don't
have a specific theory. Could you please locate the relevant psql.mo
file and share it, so we can check it contains the expected byte
sequence?
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: BUG #19539: psql 17.6 on Windows 11 prints random garbage characters in Russian localized output of \d
In-Reply-To: <CA+hUKGL8ouZGAvGLb4uSxqVYxmS1tOjYOWgPo_P_pSmOhYeUpw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox