Re: Encoding problem of attachment file names
| Newsgroups | gmane.mail.blat |
|---|---|
| Message-ID | <91D80A6F6B724EE391792FB8FA134DEC@chip> |
> Did you really try -af option if blat is compiled as Unicode? > > In ReadFilenamesFromFile (of options.cpp) the function > checkInputForUnicode (of unicode.cpp) is called which changes the (input) > sourceText/stringToCheck by prepending a UTF8BOM. See unicode.cpp, line > 757: stringToCheck = newString; Later in collectAttachmentInfo (of > attach.cpp) FindFirstFile returns INVALID_HANDLE_VALUE since it does not > find this file path starting with the UTF8BOM. This is very stange. I fixed bldhdrs.cpp, gensock.cpp, and options.cpp for what you've reported. Testing with -af option works as intended. Testing with your example filenames also works. I am heading to bed, and will get a version 3.2.2 released by the weekend. Thanks for your investigation. :) -- Chip