Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Weird Characters for Punctuation after Upgrade
Greetings All,
I couldn’t really think of what to search for, but I really did try before posting!
So, if you’ll notice on my website punctuation marks are now showing up as � in Firefox and as a “?” in IE. Does anyone have any suggestions for a quick way to remedy this problem. Does it have something to do with character encoding?
Thanks in Advance txp’ers!
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
Re: Weird Characters for Punctuation after Upgrade
What did you upgrade, TXP or MySQL… and what are the old and new versions you use(d)?
Offline
Re: Weird Characters for Punctuation after Upgrade
Excuse me for the ambiguity of my original statement. I upgraded Textpattern from 4.0.2 to 4.0.3
Thanks!
Last edited by 1beb (2006-10-12 14:20:03)
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
#4 2006-10-12 23:11:49
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Weird Characters for Punctuation after Upgrade
So, if you’ll notice on my website punctuation marks are now showing up as � in Firefox and as a ”?” in IE.
Please be specific. What punctuation marks? Can you link to an example?
Alex
Offline
Re: Weird Characters for Punctuation after Upgrade
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
#6 2006-10-13 03:30:00
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Weird Characters for Punctuation after Upgrade
It looks like you’ve somehow entered ISO-8859-1 or Windows cp-1252 apostrophe and quotation marks in your articles. These aren’t valid UTF-8 characters. Copy-paste from MS Word is a common cause.
Why it changed from 4.0.2 to 4.0.3, I couldn’t say. Textpattern doesn’t alter the content of your articles during an upgrade. Probably it was working only by accident earlier.
Last edited by zem (2006-10-13 03:34:58)
Alex
Offline
Re: Weird Characters for Punctuation after Upgrade
Probably it was working only by accident earlier.
Awesome!
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
Re: Weird Characters for Punctuation after Upgrade
I don’t ever use MS-Word to copy paste my articles. It happened in the comments as well it is primarily from my 2005 entries. Could it have something to do with the character encoding of my database? I just noticed that it is latin1_swedish_ci
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
#9 2006-10-15 21:49:35
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Weird Characters for Punctuation after Upgrade
I don’t ever use MS-Word to copy paste my articles. It happened in the comments as well it is primarily from my 2005 entries. Could it have something to do with the character encoding of my database? I just noticed that it is latin1_swedish_ci
Possible, though unlikely – that usually only happens if MySQL is upgraded without following the proper procedures for fixing UTF-8 data.
Try editing and re-saving an article that exhibits the problem. If it fixes it, the problem is probably related to the database character encoding. If it doesn’t, it means cp-1252 or other invalid characters were entered when the article was written (if not by copy-paste, then some other method – fancy textarea editor? clever keyboard driver? modified backup?)
Alex
Offline
Re: Weird Characters for Punctuation after Upgrade
Try editing and re-saving an article that exhibits the problem. If it fixes it, the problem is probably related to the database character encoding.
Nope, that didn’t work :(
If it doesn’t, it means cp-1252 or other invalid characters were entered when the article was written (if not by copy-paste, then some other method – fancy textarea editor? clever keyboard driver? modified backup?)
None of those are true either although, I’m going to look into the “keyboard driver” as I have a laptop and it could be outputting something funky.
And I’ve also discovered the extent of the changes: it happened to the following characters: – ‘ “ š dž and ć
If I could figure out a way to view my sql dump without all the /r/nr/r/r/r/r/r etc characters I would be able to copy paste into a text file and then copy over into txp again.
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
Re: Weird Characters for Punctuation after Upgrade
I thought it was an unrelated issue to the second post I made but now I found something that would tell me differently.
In the admin section->advanced options “Send “Last-Modified�? header?” I see that.
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
Re: Weird Characters for Punctuation after Upgrade
Resolved Here
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline