Re: Encoding problem of attachment file names

"'Chip' [email protected] [blat]" <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.