Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl strings questions

by kikuchiyo (Hermit)
on Jun 02, 2021 at 14:55 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-23 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found