we just spent four hours trying to figure out why wix in wine in the nix sandbox...

@whitequark@treehouse.systems

we just spent four hours trying to figure out why wix in wine in the nix sandbox chokes on an unicode filename

  • wix: works with hanzi
  • wix in wine on my machine: works with hanzi
  • wix in wine (from nix store) with exact same versions as my local setup: works with hanzi
  • wix in wine inside the nixbld sandbox: claims it cannot open XXX??YY???? where each ? corresponds to one ideogram

cause: nix stdenv doesn't bother to install locales, even en_US.UTF-8, and wine, after being run without a locale, just... switches to something, i think cp1252

the most insulting bit is that i tried using 8.3 names to work around it, but the algorithm wine uses to generate 8.3 names depends on the encoding of the filename so it didn't work