close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

French Characters display as �

Thread began 2/29/2012 9:09 am by doug425125 | Last modified 5/18/2012 3:27 am by doug425125 | 7661 views | 17 replies

doug425125

Hi Jason. I put the code into the connection file and it is still displaying the � character.
I most likely have incorrectly placed the code. It was put into the php file in the Connections folder in the Dreamweaver site. Here is what I put in (with the x's representing the sensitive info like passwords and connection info):

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_xxxxx = "xxx.x.xx.x";
$database_xxxxx = "xxxxxxx";
$username_xxxxx = "xxxxxx";
$password_xxxxx = "xxxxxxxx";
$xxxxx = mysql_pconnect($hostname_xxxxx, $username_xxxxx, $password_xxxxx) 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',$connectionName);
?>

Thanks again for your help

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