Re: Encoding problem of attachment file names

"[email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <[email protected]>
Yes, attachment file name is in 16-bit Unicode. This is what I mean by wide string (as opposed to normal string). Both blat.dll and calling application are compiled with Unicode enabled. As I said it is working for attachment file names with Unicode characters but fails for file names (yes, 16-bit Unicode) with characters from local codepage only. Can you please try to reproduce? I assume in problem in fixup function.

These are my command lines passed to SendW:
Attachment file name not OK in Outlook 2010:
"C:\test\blat.txt" -to "[email protected]" -subject "UTF-8" -q -noh2 -x "X-Mailer: Blat Mailer 1.3.3.0 for Total Commander - http://blat.tbeu.de" -attach "\"c:\test\äöü.rar\"" -server test.de -port 25 -try 1 -f "Sender <[email protected]>" -u [email protected] -pw "password" -pu [email protected] -ppw "password" -log "C:\test\blat.log" -timestamp -charset UTF-8 
Attachment file name OK in Outlook 2010:
"C:\test\blat.txt" -to "[email protected]" -subject "UTF-8" -q -noh2 -x "X-Mailer: Blat Mailer 1.3.3.0 for Total Commander - http://blat.tbeu.de" -attach "\"c:\test\עִבְרִית.rar\"" -server test.de -port 25 -try 1 -f "Sender <[email protected]>" -u [email protected] -pw "password" -pu [email protected] -ppw "password" -log "C:\test\blat.log" -timestamp -charset UTF-8 
As you see there is no real difference in argument of SendW. Log file (UTF-8 encoded) is fine.

OS is WINXPSP3 German.
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.