Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-31-2007, 08:55 AM
Member
 
Join Date: Nov 2007
Posts: 33
Question Weird characters in rendered view?

Hi, I'm starting to see weird characters when the view is rendered. For example,

Mia’s

It should be

Mia's

BTW, I'm using the following to escape the output:

PHP Code:
<?php echo $this->escape$this->model->name ); ?>
Does someone have a solution for this issue?

Thanks in advance,

-Conrad

Last edited by conradwt : 12-31-2007 at 08:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-31-2007, 11:44 PM
Member
 
Join Date: Nov 2007
Posts: 33
Lightbulb [SOLUTION] Weird characters in rendered view?

Hi, I was able to resolve the issue that I was seeing by changing the line all the views:

HTML Code:
<meta http-equiv="Content-Type" content="text/html; charset=so-8859-1" />
to

HTML Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
It seems that the charset was the culprit. Thus, changing it to utf-8 resolved the rendering issues that I was seeing in the views.

-Conrad
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:51 PM.