Skip to content

Cannot open .aup4/.aup3 files when filenames contain Japanese characters #11976

Closed

Description

@ko-ki7676

Bug description

Audacity 4.0 cannot open .aud4 or converted .aud3 project files that were created on macOS when the filenames contain Japanese characters.
Windows Explorer displays the filename correctly, but Audacity tries to access the file using a corrupted (mojibake) filename and fails to locate it.

This happens even though the file exists and is readable by Windows.

Environment

macOS: (your macOS version)

Windows: (your Windows version)

Audacity version: 4.0.x

Conversion tool: official .aud3 converter

Steps to reproduce

Create an Audacity project on macOS with a filename containing Japanese characters.

Save as .aud4 or convert to .aud3.

Copy the file to Windows using USB flash storage.

Try to open the project in Audacity 4.0 on Windows.

Audacity reports that the file does not exist.

Expected behavior

Audacity should correctly handle filenames created on macOS, including Unicode NFD filenames, and open the project normally.

Actual behavior

Windows Explorer shows the filename correctly (NFC normalization).

Audacity attempts to open a corrupted filename (mojibake).

Because the corrupted filename does not exist, Audacity throws an error.

The problem appears to be caused by improper Unicode normalization handling (NFD → NFC) in the file‑loading logic.

Audacity Version

Audacity 4.0.0

Operating system

Windows

Additional context

macOS uses Unicode NFD for filenames, while Windows uses NFC.
Audacity 4.0 (Qt-based) should normally handle Unicode normalization, but the current implementation seems to treat the raw macOS filename bytes incorrectly, resulting in mojibake on Windows.

This issue prevents cross‑platform project sharing when filenames contain Japanese characters.

Activity

  1. added theissue type on Sep 5, 2026
  2. added this to the Audacity 4.0.1 milestone on Sep 8, 2026
  3. moved this from Ready For Dev to Code Review in [AU4] Release Maintenanceon Sep 8, 2026
  4. changed the title [-]Audacity 4.0 cannot open .aud4/.aud3 files created on macOS when filenames contain Japanese characters (NFD/NFC issue)[/-] [+]Cannot open .aup4/.aup3 files when filenames contain Japanese characters[/+] on Sep 9, 2026
  5. added
    project file
    on Sep 9, 2026
  6. moved this from Code Review to Ready for QA in [AU4] Release Maintenanceon Sep 10, 2026
  7. moved this from Ready for QA to In QA in [AU4] Release Maintenanceon Sep 14, 2026
  8. self-assigned this
    on Sep 14, 2026
  9. moved this from In QA to Ready for Merge in [AU4] Release Maintenanceon Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugproject file

Type

Fields

Priority

None yet

Effort

None yet

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions