]> git.lyx.org Git - features.git/commit
Fix a couple of issues with filename encodings.
authorEnrico Forestieri <forenr@lyx.org>
Sun, 5 Jul 2015 13:45:40 +0000 (15:45 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 5 Jul 2015 13:45:40 +0000 (15:45 +0200)
commit2ea3e07a23f9e0d441fd9352bf19601aaf791c03
tree1fb248a335783957d500f8b604077b38d208fb5b
parentca0ba7c6ad86d598a8db1a47faae130b0ae329b4
Fix a couple of issues with filename encodings.

* Take into account the filesystem encoding for the zip export on *nix
  such that the representation of filenames in the zip archive is not
  mangled, when possible. This only concerns the way filenames are displayed
  as their creation in the filesystem was nevertheless correct.

* On Windows, try to obtain the command line parameters from the wide char
  representation by directly accessing the platform APIs through ctypes.
  This allows to also deal with filenames not exactly representable using
  the current code page and corrects a bug resulting in silently dropping
  those kind of filenames.
lib/scripts/lyxpak.py