i dont see the reason for changing them to HTML code anyway - as with
utf8 they can all be handled and displayed as they originally are.
On 28 Aug., 17:46, worthy <[EMAIL PROTECTED]> wrote:
> You saved my day. :D
>
> I was messing with this problem the whole day and never thought it
> would be t
You saved my day. :D
I was messing with this problem the whole day and never thought it
would be that simple :).
Thank you so much for this simple solution!
Greetings
worthy
On 28 Aug., 17:38, Günther Theilen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> do you use the form helper?
> If so try somethin
Hi,
do you use the form helper?
If so try something like this:
$form->input('foo.bar', array('escape' => false))
Regards
Guenther
worthy schrieb:
> Another explaining example for the edit form:
>
> http://localhost/regions/edit/15
>
> data['Regions']['id']=15
> data['Regions']['name']='Test
Another explaining example for the edit form:
http://localhost/regions/edit/15
data['Regions']['id']=15
data['Regions']['name']='Test ä'
Now when cakephp fills the form with this data the value of the field
changes from
'Test ä' to 'Test ä'
And so the field shows 'Test ä instead of 'Test
Hi bakers again :),
i managed to do it another way.
These two function provided below are the key for it. As you can see I
placed them inside of the app_controller.php
class AppController extends Controller {
function htmlchars($data) {
if (empty($data)) {
Hi bakers,
as by the last week i am really getting into CakePHP and enjoy the
easeness of the creation process.
But i have one simple problem.
In every form of the project where users can input data, they can for
example input ( ä,ö,ü, é... and special chars like %§"%/ or whatever)
So i want to