Is there a way to change the encoding from default 'UniCode' to UTF-8 while generating data attachments from sp_send_dbmail on SQL Server? I found that there used to be a flag 'ANSI_Attachment' to accomplish just that bu开发者_运维问答t it got removed in SP2... Not sure if it's true.
EXEC msdb.dbo.sysmail_configure_sp @parameter_name=N'DefaultAttachmentEncoding', @parameter_value=N'MIME', @description=N'Default attachment encoding'
精彩评论