Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl strings questions

by kikuchiyo (Friar)
on Jun 02, 2021 at 14:55 UTC ( #11133425=note: print w/replies, xml ) Need Help??


in reply to Perl strings questions

Re: code in the update:

This part is almost certainly wrong:

my $postdata = Encode::encode('UTF-8', "x=1&y=2&z=greektext"); # for e +xample, my $p1 = "$nonsense".'&'.$postdata; # yes & needed my $p1_utf8 = Encode::encode_utf8($p1);

You're encoding your text twice.

Replies are listed 'Best First'.
Re^2: Perl strings questions
by bliako (Monsignor) on Jun 02, 2021 at 17:29 UTC

    Thanks, that should then been urlencode() !!!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2022-08-09 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?