Merge Request with umlaut characters in title or description causes pipeline failure on Windows runner
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
When creating a Merge Request in GitLab with umlaut characters (ä, ö, ü, ß) in either the MR title or description, the merge request–triggered pipeline fails during the "Getting source from Git repository" stage.
The error occurs when running a Windows-based job using a Kubernetes runner and the following base image:
mcr.microsoft.com/windows/server:ltsc2022
Example error output
Getting source from Git repository
00:08
At C:\scripts-8122-28393828\get_sources.ps1:311 char:987
+ ... age.png){width=`"759`" height=`"528`"}`n`nWeitere Änderungen bzgl. [ ...
+ ~~~~~~~~~
The umlaut characters appear garbled (Ä instead of Ä), which leads to issues in subsequent script execution.
Steps to reproduce
- Create a Merge Request in GitLab.
- Add umlaut characters (e.g.,
Änderungen) to the MR title or description. - Trigger a pipeline with a job that uses:
- Runner type: Kubernetes
- Base image:
mcr.microsoft.com/windows/server:ltsc2022
- Observe the failure in the "Getting source from Git repository" stage.
Expected behavior
The pipeline should run successfully, preserving umlaut characters correctly without encoding issues.
Actual behavior
The pipeline fails, showing garbled characters in the PowerShell output.
Environment details
- GitLab.com self hosted
- Kubernetes runners (Windows)
- Base image: mcr.microsoft.com/windows/server:ltsc2022
Question
How can I configure the runner, job, or environment so that umlaut characters in Merge Request titles/descriptions are handled correctly?