close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

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 | 1837 views | 5 replies |

juha.morsky57580

Code page problem in Outlook

Hi,

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

Juha

Here is source code:

kysely.php begin: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd“> <html xmlns=”http://www.w3.org/1999/xhtml“> <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 = “info@xenioux.com”; $MailSubject = "".((isset($_POST["subject"]))?$_POST["subject"]:"") .""; $_SERVER["QUERY_STRING"] = "";

//Global Variables

$WA_MailObject = WAUE_Definition("/usr/share/pear/","10.2.1.20","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=\"http://www.xenioux.com"; $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 . "http://www.xenioux.com/kysely.php?ref="; $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=\”http://www.xenioux.com\" target=\"_new\"><br />\r\n"; $MailBody = $MailBody . " Powered by<br />\r\n"; $MailBody = $MailBody . “<img src=\”http://www.xenioux.com/images/logo.jpg\" 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:
supporthistory.php

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

Sign in to reply to this post

ComputerLife

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

ComputerLife

something goes wrong in Greek CodePages and PowerCMS.

hello.
Thank you for your reply.


rdbms : utf8mb4_unicode_ci

my connection file:

@session_start();

$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);
}
}
}
mysql_set_charset('utf8',$RDBMS);

My website url : euromed2015.eu/el/index.php
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

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

Content

rating

Layout

rating

Ease of use

rating

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...