http://www.perlmonks.org?node_id=1035137


in reply to Re^4: single quotes not allowing in perl
in thread single quotes not allowing in perl

So, remove CGI, and put the text you enter directly into your Perl script. Maybe the text is encoded UTF-8? Did you properly decode it? See Encode.

We can keep guessing for a long, long time, but it will be much more efficient if you show us a short, self-contained program that shows the problem and does not require user input.