I have a website that is working fine, except I cannot get it to print
out characters other than plain text. Characters such as ', :, " and
others like degrees print with the dreaded black diamond with a ?
inside.
Anyone has any idea as to how I might overcome this.
I want to have my website printing out the above special characters.
I use MySql database to store text which is printed to the screen.
This is setup with coliation = Latin1_general_ci, but changing this
does not seem to mater.
My Layout has the following:-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
I have changed UTF-8 without success
The part doing the printing in View-Show is:-
<p class="description">
<%= @picture.description %>
</p>
class description =>
font-size:110%;
line-height:1.5em;
width:90%;
text-align:center;
margin:auto;
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.