Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
a5808af3
Unverified
Commit
a5808af3
authored
May 18, 2021
by
IKEDA Soji
Committed by
GitHub
May 18, 2021
Browse files
Merge pull request #1175 from ikedas/issue-1174 by ikedas
Bulk.pl didn't deliver mails if failed to personalize (#1174)
parents
4cebf590
500bc503
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
a5808af3
...
...
@@ -1515,16 +1515,16 @@ sub _merge_msg {
||
'
NONE
');
}
unless
(
$in_cset
->
decoder
)
{
$log
->
syslog
('
err
',
'
Unknown charset "%s"
',
$charset
);
return
undef
;
$log
->
syslog
('
info
',
'
Unknown charset "%s"
',
$charset
);
return
$entity
;
}
$in_cset
->
encoder
(
$in_cset
);
# no charset conversion
## Only decodable bodies are allowed.
eval
{
$utf8_body
=
Encode::
encode_utf8
(
$in_cset
->
decode
(
$body
,
1
));
};
if
(
$EVAL_ERROR
)
{
$log
->
syslog
('
err
',
'
Cannot decode by charset "%s"
',
$charset
);
return
undef
;
$log
->
syslog
('
info
',
'
Cannot decode by charset "%s"
',
$charset
);
return
$entity
;
}
## PARSAGE ##
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment