Oops - forgot link: [1] -
http://www.fileformat.info/info/unicode/char/feff/index.htm

On Thu, Sep 10, 2009 at 9:50 PM, Jeremy Thomerson <[email protected]
> wrote:

> Well, it's definitely a non-printable character getting in there somehow.
> See [1] below to see what character it is.
>
> Can you replace your line of code with a copy and past of this, which I
> typed from scratch?
> <a href="<?php echo url_for('post_pretty_url', $post) ?>">
>
> Then if it's still happening, then I'd say that we need to grep your
> Symfony code looking for this character.  What version of Symfony are you
> running?
>
> Jeremy
>
>
> On Thu, Sep 10, 2009 at 9:03 PM, MrGlass <[email protected]> wrote:
>
>>
>> Here's a pastebin of the full generated html page:
>> http://pastebin.com/m42819a
>> Pastebin seems to have trouble with the character, replacing it with
>> &#65279; and making the errors real easy to see.
>>
>> I just noticed two more problems: It also is appearing in my atom
>> feeds (again, first article link). Worse, it now appears that the
>> character is popping up elsewhere in the source. the first one by the
>> end of the layout/beginning of indexSuccess.php, second at the point
>> where i include the partial, and still a third on the first link.
>>
>> I have gone back and made sure allt he relevant templates are encoded
>> as utf-8 (I'm using notepad++, it has an option to choose the
>> encoding).
>>
>> Once again, any clues as to whats going on would be appreciated.
>>
>>     -MrGlass
>>
>> On Sep 10, 4:14 pm, Jeremy Thomerson <[email protected]>
>> wrote:
>> > Strange - I don't see why the unicode character would show up - and I
>> can't
>> > see it in the email.  Perhaps you could screenshot the generated source
>> so
>> > we could see it.  But I don't see anything obvious that would stop it
>> from
>> > working.
>> >
>> > Jeremy
>> >
>> > On Thu, Sep 10, 2009 at 12:10 PM, MrGlass <[email protected]> wrote:
>> >
>> > > Saving the _list template in notepad did not help. I also just though
>> > > to check the RSS template, and it has the same issue (first link
>> > > messed up, rest are fine).
>> >
>> > > On Sep 10, 9:10 am, MrGlass <[email protected]> wrote:
>> > > > 'post_pretty_url' is the name for my URI, yes. and the second
>> > > > parameter (according to the jobeet tutorial) is supposed to be an
>> > > > array of values needed for the url. See herehttp://
>> > >www.symfony-project.org/jobeet/1_2/Doctrine/en/05#chapter_05_o...
>> > > > for the section of tutorial I got this from.
>> >
>> > > > I will attempt Jeremys solution in a little while.
>> >
>> > > > Thanks for the help
>> >
>> > > >      -MrGlass
>> >
>> > > > On Sep 10, 7:45 am, Eno <[email protected]> wrote:
>> >
>> > > > > On Wed, 9 Sep 2009, MrGlass wrote:
>> > > > > > *in the following code, $posts is an array of post objects
>> returned
>> > > by
>> > > > > > a doctrine query*
>> >
>> > > > > >    <?php foreach ($posts as $post): ?>
>> > > > > >            <tr>
>> > > > > >                    <td class="Title"><a href="<?php echo
>> > > url_for('post_pretty_url',
>> > > > > > $post) ?>">
>> >
>> > > > > Code above looks a little odd: is 'post_pretty_url' an internal
>> URI?
>> > > Also
>> > > > > the second parameter of url_for() should be true or false but
>> you're
>> > > > > passing in the object instead??
>> >
>> > > > > --
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to