Re: [Php-calendar-discussion] showing pictures and special characters in PHP calendar
Brought to you by:
sproctor
From: Sean P. <spr...@gm...> - 2007-01-03 22:23:30
|
Let's say I type "so & so" in the form. That is not valid HTML, so before I display it, I need to turn it into escaped characters. The result is "so & so." When this is displayed in the browser, it looks like how you intended. My suspicion is that your rich text widget also does this conversion. Now when put in "so & so" we get back "so &amp; so" which is clearly unintended. You need to find out what you editor does and either change its behavior or change the behavior of PHP-Calendar. I would imagine that there would be some kind of setting for your widget where you could set which character set is being input and which character set should be output, but that may be out of the scope of the widget, especially if it is done purely in javascript. Regards, Sean On 1/3/07, p.dieperink <p.d...@ch...> wrote: > > I have a question about the calendar: > > Instead of the standard feature I use a form to fill in the calendar > events. In this form I use a rich-editor in able to fall met my text in > the description part of the calendar. > > This all works fine although I get strange characters in my text like: > and ' etc. > > Also small images I'm not shown. > > I used is rich-editer (tinyMCE) often in my applications without a program > > Can somebody help > > Regards Peter > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Php-calendar-discussion mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-calendar-discussion > > > |