Mystery Characters?
Posted: 03 June 2008 03:40 PM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  792
Joined  05-15-2004

I notice some of my old posts now have these mystery characters in them, that look like this: �.  Sometimes they are in the place of e’s with an accent over them - sometimes in the place of dashes or ellipses - sometimes I’m not sure what character they’re in the place of.  The posts were okay when first posted. I don’t know when these mystery characters snuck in.

Is there a way to fix this?

Thanks in advance to all for any info.

 Signature 

http://www.BigPicWeblog.com
http://www.GeneralWebApps.com

Profile
 
 
Posted: 03 June 2008 03:55 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29212
Joined  05-15-2004

Most likely an encoding issue. Do you have a link to the site in question?

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 03 June 2008 04:16 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
RankRankRank
Total Posts:  792
Joined  05-15-2004

Thanks very much for your thoughts on this, Ingmar. Here’s a link to a post that has examples of this.

 Signature 

http://www.BigPicWeblog.com
http://www.GeneralWebApps.com

Profile
 
 
Posted: 04 June 2008 12:14 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
RankRankRank
Total Posts:  792
Joined  05-15-2004

If it is an encoding issue, how can I correct it?

 Signature 

http://www.BigPicWeblog.com
http://www.GeneralWebApps.com

Profile
 
 
Posted: 06 June 2008 03:29 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29212
Joined  05-15-2004

You are using “utf-8” as character encoding, and that’s a good idea, generally. In this case, however, I suspect that some of your older entries have latin-1 encoded characters. Try changing you encoding to iso-8859-1 and see if that helps.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 06 June 2008 03:59 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
RankRankRank
Total Posts:  792
Joined  05-15-2004

Thanks, Ingmar. I’ll try it.  Where can I find the settings for encoding?  Searching the docs for “encoding,” I find that on this page, it says to find them in Admin > Control Panel Settings. However, on my site (EE 1.6.0), on page CP Home ›  Admin ›  System Preferences ›  Control Panel Settings, I show options for Default Control Panel Theme and for Publish Tab Behavior. I do not yet see an option for encoding.

Thanks in advance for the info.

 Signature 

http://www.BigPicWeblog.com
http://www.GeneralWebApps.com

Profile
 
 
Posted: 06 June 2008 04:05 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  29212
Joined  05-15-2004

You can set that in Admin > System Preferences > General Configuration > Default Character Set. Or you simply overwrite the {encoding} variable in your templates, for testing purposes.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 06 June 2008 04:55 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
RankRankRank
Total Posts:  792
Joined  05-15-2004

Thanks. I never knew there were so many different kinds of encodings. smile

iso-8859-1 does not fix the mystery characters on the test page. Is there another encoding I should try?

 Signature 

http://www.BigPicWeblog.com
http://www.GeneralWebApps.com

Profile
 
 
Posted: 06 June 2008 06:04 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1734
Joined  02-28-2008

Any recent database activity? Import/export/restore….long shot but I have overlooked it in the past as well.

Profile
 
 
Posted: 06 June 2008 06:43 PM   [ Ignore ]   [ # 9 ]  
Research Assistant
RankRankRank
Total Posts:  792
Joined  05-15-2004

No importing or exporting or restoring recently. The site’s been on Hosting Matters for several years.

 Signature 

http://www.BigPicWeblog.com
http://www.GeneralWebApps.com

Profile
 
 
Posted: 06 June 2008 06:58 PM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1734
Joined  02-28-2008

Hmm…if encoding

...{encoding} variable in…

is ok the only other time I saw this was on copy paste from sites that have wrong encoding and strange chars to begin with.
Sorry Vik…I.G. has already covered few things that hit me when I saw this post…
All the best!

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120363 Total Logged-in Users: 72
Total Topics: 126488 Total Anonymous Users: 34
Total Replies: 665186 Total Guests: 341
Total Posts: 791674    
Members ( View Memberlist )