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

Displaying apostrophe’s

Thread began 3/11/2014 9:50 am by john411474 | Last modified 3/13/2014 11:26 am by Jason Byrnes | 271 views | 3 replies |

john411474

Displaying apostrophe’s

Hello
Having a problem displaying apostrophes

I upload a csv file thru phpmyadmin
when I browse the table using phpmyadmin the field value is displayed correctly (Boar’s Head)

Table: InnoDB
Table Collation: utf8general_ci
Field Collation: latin_swedish_ci

In web assist search results ‘ appears a solid diamond symbol with question mark inside it

How do I get the apostrophe to appear?

thanks

jr

Sign in to reply to this post

Jason ByrnesWebAssist

1) make sure the character set for the page is set to UTF-8.

go to modify -> page properties. in the Title encoding section, set the encoding to UTF-8


2) the connection should be set to use UTF-8 as well. if you used the standard Dreamweaver connection connection you will need to edit the connection file

in the connections folder, openthe connection file, the last line ill look similar to this:

$ConnectionName = mysql_pconnect($hostname_ConnectionName, $username_ConnectionName, $password_ConnectionName) or trigger_error(mysql_error(),E_USER_ERROR);



add this line after it:

mysql_set_charset('utf8',$ConnectionName);



where ConnectionName is the name of the connection.

if you used the Data Assist Dynamic Connection to create the database connection, you can set the character set in the connection settings screen instead of editing the code.

Sign in to reply to this post

john411474

Thanks

Editing the connection file fixed the problem

jrt

Sign in to reply to this post

Jason ByrnesWebAssist

Glad to hear it is working.

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