If you keep everything UTF-8 from start to finish you actually shouldn't have this problem. That means database tables and fields in UTF-8, your PHP files in UTF-8 for any possibly hardcoded strings and a proper HTML meta-tag in your sites denoting UTF-8. I'm working a lot with Japanese and come across the odd accent and never had a problem with that.
On 30 May 2008, at 17:24, leo wrote: > > On 28 Maig, 06:31, jeff aigner <[EMAIL PROTECTED]> wrote: >> Could you be a little more clear. I'm not sure what "escaping values >> in $form->input" really means. > > What I mean is that, by default, most Cake functions escape strings > before outputting them. This means that accentuation and punctuation, > not considered to be 'normal' by the American Standards Association, > now the American National Standards Institute, is displayed as > unexpected 'escape' characters so that you might get '[EMAIL PROTECTED]' > when what you were looking for was prèsencia. > > At times this escaping is essential to prevent interaction with the > host language(s) and/or database. At other times, however, it is > undesirable. To this end, a lot of Cake functions are equipped with > the option to 'turn off' escaping - the fifth parameter to $html->link > is an example. Others don't seem to have this option. Part of the > problem is that (without criticism) Cake, like many other systems, has > developed so fast that standardisation of approach has lagged and, > where in one function you might add false as a parameter, viz: $html- >> link('blah', 'http://example.com','stuff',null,false,null) in another > it might be specified as an element in the 'options' array, viz: > array('escape'=>false,'label'=>'my label' ). > > Sorry to be so long winded, buut it's a Friday. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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=en -~----------~----~----~----~------~----~------~--~---