Trihedralguy has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I've been using encode_entities very successfully, it seemed better at the time, but I've been inserting my data into a db with encode_entities. Displaying them on a website was as simple as just select column from table. Now however, I would like to use that same data on a device that is not web, AKA doesnt render entities. I tried to do the following:
But my data just comes back as my input, what I'm I doing wrong here?my $string = "foo bar"; $string = decode_entities($string); print $string
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Quick decode_entities Question
by ikegami (Patriarch) on Jun 13, 2011 at 19:10 UTC | |
Re: Quick decode_entities Question
by davido (Cardinal) on Jun 13, 2011 at 19:11 UTC | |
by Anonymous Monk on Nov 29, 2012 at 15:28 UTC | |
by Anonymous Monk on Nov 29, 2012 at 15:39 UTC |
Back to
Seekers of Perl Wisdom