Page 1 of 3

 Characters?

Posted: Sun Jun 22, 2008 9:44 pm
by hlcno
Anyone know what these  characters are? I keep running into them on my Joomla 1.5 site, i'm running the normal install using english.

What's weird is my main page which is running azrul blog, it's fine, but if you go to the real article page it makes ' to and turns spaces to Â

I did a search on here but didn't see anything that really relates.

Re: Â Characters?

Posted: Thu Jun 26, 2008 1:24 am
by hlcno
anyone? anyone? Beuller?

Re: Â Characters?

Posted: Sat Nov 15, 2008 6:46 am
by cwk
Bump! I'm seeing the same thing. The stray  characters are there if you aren't logged in. Nearly a vanilla installation. They disappear when you log in. This site is for a charity bone marrow registry drive and so it isn't something that will have a long life, but if I'm seeing this, I hesitate to migrate my primary site to 1.5.x.

PHP Built on: Linux web4 2.6.18-6-amd64 #1 SMP Mon Jun 16 22:30:01 UTC 2008 x86_64
Database Version: 5.0.32-Debian_7etch6-log
Database Collation: utf8_general_ci
PHP Version: 4.4.6
Web Server: Apache
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.7 Production/Stable [ Wovusani ] 9-September-2008 23:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 (CK-IBM) Firefox/2.0.0.16 Mnenhy/0.7.5.0

Template is
JA_Purity Default 1.2.0 12/26/07 JoomlArt.com

Re: Â Characters?

Posted: Sat Nov 15, 2008 7:50 am
by infograf768
What is the exact character/glyph that should display?
Could you post a link to the place where it shows on your site if the site is online?

Re: Â Characters?

Posted: Sun Nov 16, 2008 3:33 am
by cwk
infograf768 wrote:What is the exact character/glyph that should display?
Could you post a link to the place where it shows on your site if the site is online?
http://www.knoxcomm.com/saulo/

Not logged in:
Once again! VOLUNTEERS! PLEASE PARK OFF-CAMPUS!

Code: Select all

<p style="font-size: large">Once again!  VOLUNTEERS!  PLEASE PARK OFF-CAMPUS!</p>
Logged in:
Once again! VOLUNTEERS! PLEASE PARK OFF-CAMPUS!

Code: Select all

<p style="font-size: large">Once again!  VOLUNTEERS!  PLEASE PARK OFF-CAMPUS!</p>
Hesitated to display the link due to security concerns, but the site will soon be static as the event is over (quite successful, by the way, and I suggest everyone rush out to register for the bone marrow registry at http://www.marrow.org/).

Re: Â Characters?

Posted: Sun Nov 16, 2008 7:13 am
by infograf768
Except for the fact that your text abuses of non breaking spaces next to normal spaces, I do not understand this behavior.

Code: Select all

Once again!&nbsp; VOLUNTEERS!&nbsp; PLEASE PARK OFF-CAMPUS!</p>
Could you clean-up your code and take of one of the spaces where they are together?
Which version of Joomla?
Which text editor?
Is your database full utf8?

Re: Â Characters?

Posted: Sun Nov 16, 2008 10:40 pm
by cwk
The text is generated by the default editor, TinyMCE 2.0. The odd characters are not visible either from the editor screen or from the HTML view (you're logged in when editing). Version information appears in my first post which is a dump from the control panel System Information link.

I did find that two consecutive spaces make the funny character appear. I edited this particular piece to get rid of the two spaces following punctuation (a convention in American typing classes at one point) and the extra characters went away.

Re: Â Characters?

Posted: Mon Nov 17, 2008 10:15 am
by infograf768
I suggest you use JCE insted of Tiny MCE.

Re: Â Characters?

Posted: Mon Nov 17, 2008 2:30 pm
by cwk
Thanks for the suggestions. As I said at the outset, this was a quick site set up to support a specific event. I find it very interesting that the user's logged-in status would affect how the characters are displayed, which also makes me wonder whether the behavior is an artifact of the editor or of Joomla! itself. In any case, I think it qualifies as a bug.

Regards,

Chris

Re: Â Characters?

Posted: Sat Feb 28, 2009 8:09 pm
by n1gh7r4v3n
infograf768 wrote:I suggest you use JCE insted of Tiny MCE.
Hi, i am having the same problem. the sign  is showing up in the content regulary. And yes only when not logged in. pretty weird! When i clean the cache it is gone but that is no real solution either. Cause i like the cache to be on.

Also signs like for exemple ' or ë turn into  € or tm signs.

I am using JCE editor and not the tiny editor. I googled around and found a lot of other joomla websites with the same problem. I figured maybe it has something to do with other components i am using so i removed joomfish en artio joomsef put my language back to enhlish and my templates back to ja purity and ruck milkyway and that didnt solve the problem either.

I am using Joomla! 1.5.9 Production/Stable [ Vatani ] 9-January-2009 23:00 GMT

i didnt have this problem on an other site of mine (joomla 1.5.6) so i think it might be a bug in the 1.5.9 version. I am getting really annoyed with this problem. I just keep on searching where the problem is.

I am going to make a fresh install of joomla on an other webserver. So i can see wether this problem occurs directly after the install. I will let you know if i find a solution. Let me know if you found one to.
Thanks anyway ;)

Re: Â Characters?

Posted: Sat Feb 28, 2009 8:55 pm
by cwk
I suspect you'll find that the odd characters appear when you have a period followed by two spaces. Those of us who learned our keyboard skills in high school typing class tend to automatically follow a period with two spaces.

I still think it's a bug. Good luck!

Re: Â Characters?

Posted: Sat Feb 28, 2009 9:32 pm
by n1gh7r4v3n
cwk wrote:I suspect you'll find that the odd characters appear when you have a period followed by two spaces. Those of us who learned our keyboard skills in high school typing class tend to automatically follow a period with two spaces.

I still think it's a bug. Good luck!
It is true double spaces make this happen, but there is more to it then that! because sometimes there is no double space at all and it still happens!

The signs ë didnt work because i needed to use &euml; instead. But when i open the code editor and replace all ë with &euml; and save it it doesnt seem to work either!! When i open it again in the code editor the &euml; are all changed back in ë. (but that is an other subject)

I am gonna keep looking maybe ill find it. But one thing is sure. When you clean the cache the problem is solved. So i figure it has something to do with the cache function. Ill get back to you if i find the problem. One thing is sure there are a lot of webmasters with the ssame problem! Try googling this http://www.google.be/search?hl=nl&safe= ... eken&meta=

Re: Â Characters?

Posted: Sat Mar 07, 2009 4:00 am
by n1gh7r4v3n
I found a solution, just unpublisch the plugin "system cache". But not the cache in global configuration. ;)

Re: Â Characters?

Posted: Sat Mar 07, 2009 6:40 am
by FoodMODE
I have tried everything in this blog but there has been no effect.

Re: Â Characters?

Posted: Sat Mar 07, 2009 11:50 am
by n1gh7r4v3n
FoodMODE wrote:I have tried everything in this blog but there has been no effect.
Did you empty the old cache before testing? also? which version of joomla are you using? ???

Re: Â Characters?

Posted: Sat Mar 07, 2009 5:21 pm
by FoodMODE
Yes ... cleared cache and everything. I am using Joomla 1.5.9

Re: Â Characters?

Posted: Sat Mar 07, 2009 5:26 pm
by FoodMODE

Re: Â Characters?

Posted: Sun Mar 08, 2009 8:06 am
by cwk
Yup, there they are. From my quick glance, it appears that many of the  characters are originating from double spaces, but the things appear to be directional quotation marks. Is that a product of your editor? Or is it rendering correctly in another browser?

Do yours disappear when you log in?

Has anyone on the Joomla! dev team commented on these  things?

Re: Â Characters?

Posted: Sun Mar 08, 2009 8:41 am
by infograf768
Some of these are definitely due to wrong database encoding.

Check database collation, tables collation and table fields collations. All these should be UTF-8

Re: Â Characters?

Posted: Sun Mar 08, 2009 9:06 am
by n1gh7r4v3n
FoodMODE wrote:Yes ... cleared cache and everything. I am using Joomla 1.5.9
Hi, too bad. Must be something else then, probably the encoding of your database like infograf said under here. Or maybe you are forgetting someting. I had the same weird a characters in my articles. But they dissapeared onze you logged in. They also completely disapeared when i turned the cache off. I fixed it by turning the system cache plugin off in the plugin manager and putting the cache back on anyway. This seems to work without a problem now. Does anyone know what this System cache mambot does exactly? And wheter it is wise to turn it off? Do i really need this mambot?

Re: Â Characters?

Posted: Mon Mar 09, 2009 5:18 am
by FoodMODE
I have fixed my problem. I had iJoomla Magazine installed and the "Enable UTF-8 Functionality:" was on. I turned it off and everything cleared up. YEAH ... but after I waisted a beautiful weekend ... LOL

Re: Â Characters?

Posted: Mon Mar 09, 2009 10:15 am
by n1gh7r4v3n
FoodMODE wrote:I have fixed my problem. I had iJoomla Magazine installed and the "Enable UTF-8 Functionality:" was on. I turned it off and everything cleared up. YEAH ... but after I waisted a beautiful weekend ... LOL
Ok. but it is fixed ;) . Me too i wasted a lot of time with this problem, i uninstalled all my components one by one and at the end the problem was not gone. :D

Re: Â Characters?

Posted: Mon Mar 09, 2009 2:23 pm
by cwk
n1gh7r4v3n wrote:
FoodMODE wrote:Yes ... cleared cache and everything. I am using Joomla 1.5.9
Hi, too bad. Must be something else then, probably the encoding of your database like infograf said under here. Or maybe you are forgetting someting. I had the same weird a characters in my articles. But they dissapeared onze you logged in. They also completely disapeared when i turned the cache off. I fixed it by turning the system cache plugin off in the plugin manager and putting the cache back on anyway. This seems to work without a problem now. Does anyone know what this System cache mambot does exactly? And wheter it is wise to turn it off? Do i really need this mambot?
So where's that leave it? n1gh7r4v3n's solution is at best a workaround, but what does it actually change? Is the cache doing anything without the cache mambot? Turning it off and then leaving the cache on seems a bit cargo cultishto me.

Has this been reported as a bug?

Re: Â Characters?

Posted: Mon Mar 09, 2009 2:46 pm
by infograf768
It has not been reported.
I can't reproduce the error here. Cache or no cache.

Re: Â Characters?

Posted: Tue Mar 10, 2009 9:57 am
by n1gh7r4v3n
cwk wrote:
n1gh7r4v3n wrote:
FoodMODE wrote:Yes ... cleared cache and everything. I am using Joomla 1.5.9
Hi, too bad. Must be something else then, probably the encoding of your database like infograf said under here. Or maybe you are forgetting someting. I had the same weird a characters in my articles. But they dissapeared onze you logged in. They also completely disapeared when i turned the cache off. I fixed it by turning the system cache plugin off in the plugin manager and putting the cache back on anyway. This seems to work without a problem now. Does anyone know what this System cache mambot does exactly? And wheter it is wise to turn it off? Do i really need this mambot?
So where's that leave it? n1gh7r4v3n's solution is at best a workaround, but what does it actually change? Is the cache doing anything without the cache mambot? Turning it off and then leaving the cache on seems a bit cargo cultishto me.

Has this been reported as a bug?
Yeah it is. But it works. I cant solve it like i should. I am not a real good programmer. And this is stuff is really weird also. Why doesnt it show these weird characters when logged in? What does that change to the proces of caching? There seems to be no logic behind it.

Re: Â

Posted: Fri Mar 13, 2009 10:01 am
by chloregy
i get the same issue.

when system-cache enabled, if user is not logged in and goes to a page the second time, some characters like apostrophe and spaces (but not all) are mangled.

I also get broken images

and yes my db collation is set to UTF8...

Re: Â Characters?

Posted: Fri Mar 27, 2009 4:25 am
by smuggers
Hi

I had this problem but it was becasue I didn't have the HTML metatag that told the browser which character set to accept, in the head section of your HTML.

Code: Select all

<head>
      <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
Goodluck :D

Re: Â Characters?

Posted: Fri Mar 27, 2009 2:36 pm
by n1gh7r4v3n
smuggers wrote:Hi

I had this problem but it was becasue I didn't have the HTML metatag that told the browser which character set to accept, in the head section of your HTML.

Code: Select all

<head>
      <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
Goodluck :D
Nope doesnt work for me. I already have this in my template:
<?php echo '<?xml version="1.0" encoding="utf-8"?'.'>'; ?>
So normally the encoding is set.

Re: Â Characters?

Posted: Sat Mar 28, 2009 2:31 am
by smuggers
Yeah, I'd taken mine out because I was creating a Newsletter template.

Works fine if System Cache is turned off but you already know that.

Sorry, out of ideas

Re: Â Characters?

Posted: Sat Mar 28, 2009 7:29 am
by infograf768
Folks,
if one of you give me full access to a site which has that type of problem, I could have a look.
By full access, I mean ftp, PHPMyadmin and superadmin.
Send infos by pm please.