[flac-dev] Patch to add Unicode filename support for win32 flac

LRN lrn1986 at gmail.com
Sun Mar 17 03:57:15 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17.03.2013 06:33, Janne Hyvärinen wrote:
> Here's a patch that makes MSVC compiled flac.exe able to use
> wildcards and encode/decode files with Unicode characters in names.
> It may not be the prettiest code but it fulfills its primary
> purpose. I tried to alter FLAC code as little as possible. It
> replaces argv with utf-8 encoded version and only converts to
> usable Unicode for file functions. That means printed texts and
> tags that contain non-ascii characters will be broken, but it is
> fixable if these changes are acceptable.
/me looks at chmod and utime wrappers:
Ah, i knew i've missed something! :)
Also, i didn't consider wildcards (i thought shell was supposed to
handle them...).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRRaGLAAoJEOs4Jb6SI2CwapIIANAihJPXnq5rJDXIs1JdJvUx
rDk3c1obe8PTE2ur+jU86TDgflIotY1mYCUptglNr28IPiWs1Nj7qKM0sIXfa6e7
kaAocJStwXNjA/VCLUXd4Ka+OY0MOdKnldAcepLnTPBZSgKXVHOoe/A98tHc6BsS
1+fBKoU6YFb7jubaW6P2IVquu/rhbCyAI/3+3yaBdMYkgvs5zq/HT/iUYWjVD5V5
jTW/lDFNzqRydIPH3EdB64W9kXAXhLi75P3DVD+4OtDW9eTiLIIYWNxh0Bbk6AWg
f/AP9kDp/2qSg5QSab0j5fEQDYG6RnYl4MNXLhwhLRyHK19WlBLucw7l/4ibdWs=
=2RLE
-----END PGP SIGNATURE-----


More information about the flac-dev mailing list