Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: converting smart quotes

by slugger415 (Monk)
on Mar 20, 2012 at 04:18 UTC ( [id://960519]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    What’s new
    
  2. or download this
    my $browser = LWP::UserAgent->new;
    my $response = $browser->get( "http://publib.boulder.ibm.com/infocente
    +r/brjrules/v7r0m3/basic/tocView.jsp?toc=/com.ibm.websphere.ilog.jrule
    +s.doc/toc.xml" );
    ...
    open(OUT, ">content.html");
    print OUT $content;
    close(OUT);
    
  3. or download this
    utf8::decode($content);
    
    $content =~ s { ([\x00-\x08\x0B\x0C\x0E-\x1F\x80-\x{1FFFFF}]) }
                  { sprintf('[U+%04X]', ord($1)) }gex;
    
  4. or download this
    What[U+2019]s new
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-23 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found