Jump to content

email from the website


gio1961

Recommended Posts

Hello everyone and sorry for my english ... When I get an email from the website I get strange characters as in the picture ... My local.config:

... My local.config:

Page # encoding options

Config :: Set ('page_encoding', 'UTF-8');

in app.config

Page # encoding options

Config :: Set ('page_encoding', 'UTF-8');

Config :: Set ('DB_CHARSET_NAME', 'utf8');

On the home site:

<head>

<meta content="text/html; http-equiv="Content-Type" charset=utf-8" />

<title> ....... </ title>

</ head>

Thanks for any reply, best regards

post-6625-0-27811200-1395142887_thumb.jpg

Link to comment
Share on other sites

  • 1 year later...

Find the file Contact.php located in core/modules/Contact

in line71 the code is like this : $message = nl2br($message);

$message = utf8_encode($message);

Util::SendEmail(ADMIN_EMAIL, $subject, $message);

delete the red line and save it.

worked on my site with greek characters.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...