Hi,
I use the flash message so often and it works just fine with me, here
is an example of how i use it
First, set the flash message in the [action] :
    $this->getUser()->setFlash('success', "Fichier ajouté avec
succès");
Then call it in a [view] :
                   <?php if ($sf_user->hasFlash('success')): ?>
                        <div class="success">
                            <span><?php echo
sfOutputEscaper::unescape($sf_user->getFlash('success')); ?></span>
                        </div>
                        <?php endif ?>

that works !!! ;)

On Dec 21, 12:58 pm, HAUSa
<[email protected]> wrote:
> How can I use a special char in a user flash message?
>
> When I use krantcafé (the é), the flash is empty and displays an empty
> error div.
> When I set Krantcafé, is see exactly that in my website.
>
> How can I just get the é character?
> I use the UTF-8 charset

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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