I must be doing something wrong in how I setup my html as I often see diamond question marks show up for certain characters like accents. This is how I typically start a page:
Is that the right doctype I should be using, or is there something else? I presume that's what affects the way it renders certain characters?
It seems to be more noticible if it needs to render data that comes from another source. Like importing stuff into a database and then displaying it. Even characters like quotes often have it happen, but if I type the quote manually then it's ok.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Is that the right doctype I should be using, or is there something else? I presume that's what affects the way it renders certain characters?
It seems to be more noticible if it needs to render data that comes from another source. Like importing stuff into a database and then displaying it. Even characters like quotes often have it happen, but if I type the quote manually then it's ok.