Skip to content

The "podman compose config" command alters paths with accented characters #1536

Description

@guedel

Describe the bug
In my docker-compose file I've added bind volumes to host paths. This paths contain some accented characters. When I use the config command this characters are replaced by escaped form but this output is not understandable by "compose up".

To Reproduce
Steps to reproduce the behavior:

  1. Sample of compose file:
services:
  sample:
    image: docker.io/library/alpine
    userns_mode: "keep-id"
    volumes:
       - type: bind
         source: "$HOME/développement"
         target: /home/dev
    command: sleep infinity

Invoke "podman compose config".

Expected behavior
The path of source volume must be "/home/guedel/développement".

Actual behavior
The path of source volume is "/home/guedel/d\xE9veloppement"

Output

$ podman-compose version
podman-compose version 1.6.0
podman version 5.8.4

$ echo $LANG
fr_FR.UTF-8

Environment:

  • OS: Nobara Linux 44 Gnome edition

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions