Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

fMessaging or fValidation not in UTF8 ?

posted by gill 8 years ago

I'm french. So, I frequently use accents for my messages (ex : , , , , , ...), and for us, UTF8 is great.

But with fMessaging::show(), it seems UTF8 is not completely implemented.

For exemple, I cant't use :

- throw new fValidationException('Problme de saisie de mot de passe :', array('Veuillez le retaper'));
- fMessaging::create('success', fURL::get(), 'OK ! Inscription ralise');

...but :

- throw new fValidationException('Problème de saisie de mot de passe :', array('Veuillez le retaper'));
- fMessaging::create('success', fURL::get(), 'OK ! Inscription réalisée');

If I use special UTF8 codes, the specific string (message or list) is simply not printed.

Now, I know the problem, but at the beginning, I was very confused !

Although, Flourish is splendid. Thanks ! :-)

(flourish version r1016, Chrome, WAMP on W7 : php 5.3.4)

Oups ! Sorry ! My PHP files weren't in UTF8, but in ANSI...

Solution with Notepad++ : menu "Incoding".."convert to UTF8"

That's my fault...

posted by gill 8 years ago

No worries! It is actually good for people to post about issues like this because it can help people in the future figure out why their code may not be working properly. Thanks for contributing to the discussion!

posted by wbond 8 years ago