View Full Version : Weird TOC error
dsemmel
10-20-2009, 05:58 PM
I am getting odd results when trying TOC mode. All other modes seem fine. See attached screen cap... ANY IDEAS???
Here is source: http://98.130.6.23/?page_id=1613&mo=10&yr=2009
Thanks in advance... David
ve9gra
10-20-2009, 07:16 PM
You must have some kind of parsing that's going on.. the " has been replaced by –
This has only been seen one other time on the forum, do a search and you should be able to find the thread.
Edit: It removed the code... quotes are being replaced by & #8211 ; as an HTML entity.
ve9gra
10-20-2009, 07:25 PM
Found the post - http://www.easyphpcalendar.com/forums/showthread.php?t=9618&highlight=parsing
No resolution reported by the client.
ve9gra
10-20-2009, 07:33 PM
Actually, after doing a bit of research, I think Brian needs to be involved here.
Brian, can you check your code to make sure that you do not reference any "opening double quote" or "closing double quote"... and using only "ascii double quote".
The opening and closing quotes having unicode char codes 8220 and 8221, whereas the ascii double quote is unicode 34. This might be confusing the interpreter.
http://www.cs.sfu.ca/~ggbaker/reference/characters/
Brian
10-20-2009, 08:52 PM
It appears the demo is working okay at http://98.130.6.23/calendar/demoTOC.php?mo=10&yr=2009
Everything is unicode 34 on my end...
dsemmel
10-20-2009, 08:56 PM
I did that too... suppose I could use an iframe... but they suck... the TOC is on a WP page - not much parsing going on there... any other ideas for how to attack this?
what does "unicode 34" mean?
ve9gra
10-21-2009, 09:48 AM
Each character has a unicode number. Unicode 34 is equal to straight double quote, and unicode 8220 and 8221 are the opening and closing double quote. I'm guessing something inside of WP is converting the straight quotes to the opening/closing ones and that's what's causing your problem.
As Brian confirmed, the demo page is working fine, meaning that the issue is outside of the calendar.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.