BUG #19052: failing to install on Windows if user path contains Chineese/Korean characters

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: zemlyanskiy(at)nanocad(dot)com
Subject: BUG #19052: failing to install on Windows if user path contains Chineese/Korean characters
Date: 2025-09-15 09:10:18
Message-ID: 19052-f1f73347cf6378b7@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 19052
Logged by: Nick Zemlyanskiy
Email address: zemlyanskiy(at)nanocad(dot)com
PostgreSQL version: 17.5
Operating system: OS: Windows 10/11 x64 (local admin)
Description:

Error running C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
-ExecutionPolicy Bypass -Command
"[System.Globalization.CultureInfo]::GetCultures([System.Globalization.CultureTypes]::AllCultures)
| Where-Object { $_.LCID -ne 127 } | Sort-Object EnglishName |
ForEach-Object { $_.Name + '=' + $_.EnglishName } | Out-File -FilePath
\"C:\Users\ㅂㅂ\AppData\Local\Temp/postgresql_installer_06853c8c76/locales.txt\"
-Encoding UTF8": Out-File : Cannot perform operation because the wildcard
path C:\Users\??\AppData\Local\Temp/postgresql_installer_06853
c8c76/locales.txt did not resolve to a file.
At line:1 char:215
+ ... ishName } | Out-File -FilePath "C:\Users\??\AppData\Local\Temp/postgr
...

Request

Please confirm whether this is a known issue with Unicode paths in the
Windows installer.

Provide an official fix/patch or documented installer parameters to force an
ASCII-only temp/output path for locales.txt without changing the Windows
account.

If an updated build is available, we’d be happy to test it.

Best regads,
Nick

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2025-09-15 10:12:58 BUG #19053: Inconsistent arithmetic regarding TIMESTAMPTZ and INTERVAL
Previous Message Laurenz Albe 2025-09-14 10:43:20 Re: Version 17.6 changed how similar works compared to version 17.5