close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Code page problem in Outlook

Thread began 10/25/2011 2:59 pm by juha.morsky57580 | Last modified 5/11/2015 2:05 pm by Ray Borduin | 3622 views | 5 replies |


Code page problem in Outlook


I have a problem with outlook mail recievers, they got strange chars instead of Scandic letters (Finland)

Like this: Tämän it should be: Tämän

There is no problem with mac mail or with g-mail, only with Outlook and windows mail users. I've set up Universal mail to use UTF-8 and form page is using UTF-8 as well.

If I set-up Outlook to use UTF-8, message is OK, however if Outlook has Automate char on it will not change it to UFT-8.

I've even tried top change everything to iso-8859-1 but it do not help, problem stays.

Any idea, what next


Here is source code:

kysely.php begin: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” "“> <html xmlns=”“> <head> <meta http-equiv="Content-Type” content="text/html; charset=UTF-8" /> <title>XeniouX</title> <style type="text/css" media="all">

..... and waue_kysely_1.php

<?php $MailAttachments = ""; $MailBCC = ""; $MailCC = ""; $MailTo = ""; $MailBodyFormat = ""; $MailBody = ""; $MailImportance = ""; $MailFrom = “”; $MailSubject = "".((isset($_POST["subject"]))?$_POST["subject"]:"") .""; $_SERVER["QUERY_STRING"] = "";

//Global Variables

$WA_MailObject = WAUE_Definition("/usr/share/pear/","","25","xxxx","xxxx","true","","","","UTF-8");
if ($RecipientEmail) {

$WA_MailObject = WAUE_AddRecipient($WA_MailObject,$RecipientEmail);
} else {

//To Entries

//Additional Headers

//Attachment Entries

//BCC Entries

//CC Entries

//Body Format

$WA_MailObject = WAUE_BodyFormat($WA_MailObject,0);
//Set Importance

$WA_MailObject = WAUE_SetImportance($WA_MailObject,"3");
//Start Mail Body $MailBody = $MailBody . “<html><head>\r\n”; $MailBody = $MailBody . “<meta http-equiv=\"Content-Type\” content=\"text/html; charset=UTF-8\" />\r\n"; $MailBody = $MailBody . “<style type=\"text/css\">\r\n”; $MailBody = $MailBody . “body p \r\n”; $MailBody = $MailBody . “</style>\r\n”; $MailBody = $MailBody . “</head><body>\r\n”; $MailBody = $MailBody . “<p><img name=\"\” src=\""; $MailBody = $MailBody . ((isset($_POST["logo_link"]))?$_POST["logo_link"]:""); $MailBody = $MailBody . “\” alt=\"Logo\" /><br />\r\n"; $MailBody = $MailBody . " <br />\r\n"; $MailBody = $MailBody . " “; $MailBody = $MailBody . nl2br(((isset($_POST["content"]))?$_POST["content"]:"")); $MailBody = $MailBody . "<br /> \r\n”; $MailBody = $MailBody . ""; $MailBody = $MailBody . ((isset($_POST["ref"]))?$_POST["ref"]:""); $MailBody = $MailBody . “&reference=”; $MailBody = $MailBody . ((isset($_POST["viite"]))?$_POST["viite"]:""); $MailBody = $MailBody . “&product=”; $MailBody = $MailBody . ((isset($_POST["tuote"]))?$_POST["tuote"]:""); $MailBody = $MailBody . “<a href=\”\" target=\"_new\"><br />\r\n"; $MailBody = $MailBody . " Powered by<br />\r\n"; $MailBody = $MailBody . “<img src=\”\" alt=\"\" name=\"\" width=\"90\" height=\"50\" /></a></p>\r\n"; $MailBody = $MailBody . “<p>&nbsp;</p>\r\n”; $MailBody = $MailBody . “</body></html>”; //End Mail Body

$WA_MailObject = WAUE_SendMail($WA_MailObject,$MailAttachments,$MailBCC,$MailCC,$MailTo,$MailImportance,$MailFrom,$MailSubject,$MailBody,"waue_kysely_1");

if (isset($_SESSION["waue_kysely_1_Status"])) {

$MailLogBindings = new WAUE_Log_Bindings();
//Start Log Bindings
//Success Or Failure
$MailLogBindings->SuccessOrFailure->ToDo = "none";
$MailLogBindings->SuccessOrFailure->Connection = "";
$MailLogBindings->SuccessOrFailure->TableName = "";
$MailLogBindings->SuccessOrFailure->EmailColumn = "";
$MailLogBindings->SuccessOrFailure->ColumnList = array();
$MailLogBindings->SuccessOrFailure->TypeList = array();
$MailLogBindings->SuccessOrFailure->ValueList = array();
//Success Only
$MailLogBindings->Success->ToDo = "none";
$MailLogBindings->Success->Connection = "";
$MailLogBindings->Success->TableName = "";
$MailLogBindings->Success->EmailColumn = "";
$MailLogBindings->Success->ColumnList = array();
$MailLogBindings->Success->TypeList = array();
$MailLogBindings->Success->ValueList = array();
//Failure Only
$MailLogBindings->Failure->ToDo = "none";
$MailLogBindings->Failure->Connection = "";
$MailLogBindings->Failure->TableName = "";
$MailLogBindings->Failure->EmailColumn = "";
$MailLogBindings->Failure->ColumnList = array();
$MailLogBindings->Failure->TypeList = array();
$MailLogBindings->Failure->ValueList = array();
//End Log Bindings
$MailLogBindings->SuccessOrFailure->MailRef = "waue_kysely_1";
$MailLogBindings->Success->MailRef = "waue_kysely_1";
$MailLogBindings->Failure->MailRef = "waue_kysely_1";
$MailLogBindings->processLog(($_SESSION["waue_kysely_1_Status"] == "Failure"));
} $WA_MailObject = null; ?>

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post


Code page problem in Outlook

I have exactly the same problem with greek character set.

Sign in to reply to this post

Ray BorduinWebAssist

There are three places that the character set can be wrong:

1) The database itself
2) The database connection file
3) The page itself

You will have to check the database to see what the charset is set to there. If you send me the connection file and the url to the page you are viewing I can help you verify the other two.

Sign in to reply to this post
Did this help? Tips are appreciated...


something goes wrong in Greek CodePages and PowerCMS.

Thank you for your reply.

rdbms : utf8mb4_unicode_ci

my connection file:


$RDBMS = mysql_pconnect($hostname_RDBMS, $username_RDBMS, $password_RDBMS) or trigger_error(mysql_error(),E_USER_ERROR);

if (!function_exists('mysql_set_charset')) {
function mysql_set_charset($charset, $link_identifier = null) { if ($link_identifier == null) {
return mysql_query('SET NAMES "'.$charset.'"');
else {
return mysql_query('SET NAMES "'.$charset.'"', $link_identifier);

My website url :
The website shows normal.
If I change the content inline the greek characters stored like : &alpha; &delta etc...

Look the attachments.

Thank you in advance

Sign in to reply to this post

Ray BorduinWebAssist

Try adding this meta tag to the page:

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

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...