Hi there. Benedikt: I did try str_replace, preg_replace and strtr, same result.
Lapinski: What I'm doing is with JavaScript replacing some characters (á,é,í,ó,ú,&) to there html character (ie -> á: á) but if I sent to server data[Model][value]=á would fail since the ampersand is the parameter separator so when I read in my controller data['Model'] ['value'] it would be blank, my solution for that was using _#225; instead of á and then my idea is to replace it in the server for the ampersand and then save to DB. Despite everything, there are two details, one; that I i'm seeing the & in the log (debugger::log($value)) so it may be the log() the one converting it (sorry if this is known, i didn't know, and its only a supposition of mine) and also, if you see my code I'm using a reference parameter (&pArray) so that my original array gets modified there, and then I saveAll($modified_array). But when I look at the database, the value is saved as if it was never modified, as _# instead of &# or even &. So I think the real problem is else where. thanks for your answers, I appreciate any help --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
