Skip to content

Preserve non-UTF-8 paths and runtime arguments #41

Closed

Description

@LunaStev

Problem

Vex collects CLI arguments through std::env::args and converts filesystem paths with to_string_lossy. On Unix, valid non-UTF-8 paths or program arguments can panic during argument collection or be changed before they reach Git and wavec.

A package manager should not silently address a different path.

Acceptance criteria

  • Use args_os and OsString at process and path boundaries.
  • Keep option names and manifest text UTF-8 while preserving opaque runtime arguments after --.
  • Pass dependency and input paths to subprocesses without lossy conversion.
  • Fail explicitly if the wavec dependency-mapping contract itself requires UTF-8.
  • Add Unix integration tests for non-UTF-8 project paths, dependency paths, and runtime arguments.
  • Preserve normal Windows Unicode behavior.

Activity

  1. added
    bug
    cross-platform
    stability
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcross-platformstability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions