SOLVED- URL ENCODING Mr Beri ---
***WOW, a huge THANK YOU !!! *** I just could not put my finger on the problem. My initial failure -DOES- occur on a non ascii character that google charts generates '|' The W3schools hyperlink you referenced said to substitude '%7c' for the non-ascii '|'. --Just So ! Because C formatting thinks % prefixes substitution, I had to write strings as below, but it works. In my case, the C code change ended up being: fprintf(fpo,"http://chart.apis.google.com/chart?chf=bg,lg,0,EFEFEF, 0,BBBBBB,1\%sc,lg,0,EFEFEF,0,BBBBBB,1&chxl=0:\%s1\%s2\%s3\%s4\%s5\%s6\ %s1:\%s0\%s10\%s20\%s2:\%sQso/5min&chxp=2,10&chxr=0,0,6\%s1,-5,20\ %s2,0,20&chxs=0,FF0000,10.5,0.5,l,0000FF\%s1,0000FF,11.5,0,l,676767\ %s2,0000FF,13.5,0,l, 676767&chxt=x,y,r&chs=500x210&cht=bvg&chco=76A4FB&chds=0,20&chd=t:%d, %d,%d,%d,%d,%d&chdlp=l&chg=20,50&chma=20,20&chtt=%s+Segment +Analysis&chts=000000,13.5\n","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C","%7C",s1,s2,s3,s4,s5,s6,call1); THANK YOU so much !!! It will be a couple of days before i can test this over the mail reflector, but everything indicates that was the problem---THANKS ! Howie On Jul 7, 5:12 pm, duniyadnd <[email protected]> wrote: > It looks like your mail client is > urlencoding<http://www.w3schools.com/TAGS/ref_urlencode.asp>the link. It > could be doing this as a safety mechanism. Does your mail > client do this or all emails? Did you try sending yourself a URL for > something else that was not related to Google charts, and if you get a > similar issue, then the issue is not with Google Charts, but with your > mailing system. On Jul 12, 3:58 pm, Howie <[email protected]> wrote: > Thanks for the reply. Yes, it is the mailing system. > Here is an example (hyperlink near bottom). > I guess I just need to give up on this ever working. > > http://lists.contesting.com/archives//html/3830/2011-07/msg00220.html > Howie > > On Jul 7, 5:12 pm, duniyadnd <[email protected]> wrote: > > > > > > > > > It looks like your mail client is > > urlencoding<http://www.w3schools.com/TAGS/ref_urlencode.asp>the link. It > > could be doing this as a safety mechanism. Does your mail > > client do this or all emails? Did you try sending yourself a URL for > > something else that was not related to Google charts, and if you get a > > similar issue, then the issue is not with Google Charts, but with your > > mailing system. -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.
