mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 10:51:38 +01:00
handle Euro Symbol when switching addresses
This commit is contained in:
parent
4db64d1bc3
commit
69a6d18a4c
@ -1494,7 +1494,7 @@ class ajaxfelamimail
|
||||
$_content = str_replace("\n",'\n',$_content); // dont know why, but \n screws up preg_replace
|
||||
$_content = preg_replace($reg='|'.preg_quote('<!-- HTMLSIGBEGIN -->','|').'.*'.preg_quote('<!-- HTMLSIGEND -->','|').'|u',
|
||||
$rep='<!-- HTMLSIGBEGIN -->'.$sigText.'<!-- HTMLSIGEND -->', $in=$_content, -1, $replaced);
|
||||
$_content = str_replace(array('\n',"\xe2\x80\x93","\xe2\x80\x94"),array("\n",'–','—'),$_content);
|
||||
$_content = str_replace(array('\n',"\xe2\x80\x93","\xe2\x80\x94","\xe2\x82\xac"),array("\n",'–','—','€'),$_content);
|
||||
//error_log(__METHOD__."() preg_replace('$reg', '$rep', '$in', -1)='$_content', replaced=$replaced");
|
||||
if ($replaced)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user