Hi,

I am developing a pilot in order to select a long-term framework for
our application.
The end-users are French; French language contains extended
characters, let’s take the example of ‘é’.
It looks to me like in many places, CakePhHP code is a bugged,
preventing strings containing extended characters from being displayed
in rendered HTML pages.

e.g.

<?php echo $html->link('Mot de passe oublie', true), array
('controller' => 'users', 'action' => 'passwordreset'));?>
Displays the link as expected resulting in the following HTML code:-
<a href="/passwordreset">Mot de passe oublie ?</a>


But:-
<?php echo $html->link('Mot de passe oublié', true), array
('controller' => 'users', 'action' => 'passwordreset'));?>
[Notice the ‘é’ at the end of “Mot de passe oublié”] fails resulting
in the following html code:-
<a href="/passwordreset"></a>

I cannot see any error message in the logs, nothing at all.

Furthermore I noticed the same behaviour for message attributes in
validation elements.
Exemple:-
'rule' => array('between', 5, 15),  'message' => 'Un mot de passe doit
faire entre 3 et 15 characteres'
Works OK
But

'rule' => array('between', 5, 15),  'message' => 'Un mot de passe doit
faire entre 3 et 15 charactères'

Never displays the error message although the validation mechanism
keeps the user stuck on the form page since the error is detected by
the framework but simply not displayed the error message because of
the ‘è’ character.

I would feel much better if any of you could come up with an
explanation / workaround – I am sure CakePHP is popular enough around
the world for me not to be the only one having experienced this
problème and solved it.
I am using:
CakePHP version 1.2.3.8166 (upgrading to the very latest version as a
message in a bottle is not an option because I really am on a deadline
for the pilot and cannot take the risk of breaking the little I have
built + I check the release notes of the very last version, nothing
regarding this issue seems to be mentioned, thus no bug fix).
Windows XP SP3
PHP 5.2.8

Thanks for your support.

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=.


Reply via email to