-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Labels
Description
Describe the problem
When entering an Umlaut (ö,ü,ä) to an answer everything is written correctly. But on updating the template, copier is messing it up.
Template
New template with git initialized (and tagged)
{{_copier_conf.answers_file}}.jinja:
# Changes here will be overwritten by Copier
{{ _copier_answers|to_nice_yaml -}}copier.yml:
umlaut:
type: str
help: Type an umlaut (ö,ü,ä).umlaut.md.jinja:
{{ umlaut }}To Reproduce
copier copy -d umlaut=ä .\template\ .\test\(PowerShell)cd testgit init,git add .,git commit -m 'first'copier update --trust
Logs
On update you will see:
Updating to template version 0.2.0
🎤 Type an umlaut (ö,ü,ä).
äThe .copier-answers.yml-file and the umlaut.md file will be overwritten with ä
Expected behavior
No overwriting. Keep ä in .copier-answers.yml-file and the umlaut.md file
Screenshots/screencasts/logs
No response
Operating system
Windows
Operating system distribution and version
Windows 11
Copier version
9.4.1
Python version
3.13.2
Installation method
local build
Additional context
Independent of build method, here uvx was used.
Reactions are currently unavailable