Saving the file in UTF-8 did the trick.
It seems that Eclipse on Windows defaults to cp1252 when saving files.
I changed it to UTF-8.

Now I have to see if Eclipse on my Limux laptop has the same behavior.

Thanks!!!

[EMAIL PROTECTED] wrote:
> Actually it happens everywhere and I hadn't noticed it.
> For example:
> 
> <th><?php echo $paginator->sort('Descripción');?></th>
> 
> The cell comes out empty when the page is rendered.
> 
> 
> 
> On Oct 8, 9:15 pm, "R. Davila" <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I'm using the $validate array to setup validation and error messages in
>> the model.
>>
>> Given a field called "description", the following works perfectly:
>>
>> $validate = array(
>>  'description' => array(
>>   'rule' => array('minLength', 20),
>>   'message' => 'Description must be at least 20 characters'));
>>
>> If I translate the error message to spanish it would be:
>>   'message' => 'La descripción tiene que ser al menos 20 caracteres'));
>>
>> Notice the ó in the translated word "description" == "descripción".
>>
>> The result is that no message is shown. The error is still triggered though.
>>
>> I tested it with all accentuated vocals á é í ó ú and ñ, all of which
>> are heavily used in spanish.
>>
>> How can I overcome this?
>>
>> Thanks
> > 
> 
> ------------------------------------------------------------------------
> 
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: 10/9/2008 
> 4:56 PM
> 

--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to