Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Unicode substitution regex conundrum

by Polyglot (Pilgrim)
on Mar 04, 2008 at 06:14 UTC ( #671798=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use CGI;
    use CGI::Carp qw(fatalsToBrowser);
    ...
    require Encode::CN;
    require Encode::TW;
    require 5.004;
    
  2. or download this
    $name = decode("utf-8", $name); 
    $value = decode("utf-8", $value);
    
  3. or download this
    my $quest = $dbh->prepare($statement, { RaiseError => 1 }) 
           or die "Cannot prepare statement! $DBI::errstr\n";
    ...
      $c1=decode("utf-8", $c1);
      ...
    }
    
  4. or download this
    $line =~ s%(?:\p{IsSpace}*) #Match zero or more spaces
    (\bNOT)?                    #Match zero or one "NOT" operator(s)
    ...
    )                           #(end group)
                                #AND SUBSTITUTE THE ABOVE WITH THE BELOW
    %$2$3$table\.$columnName`$1`$like`"$l$wb$4$we$l"$5$6 $7 %xig;  
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2015-07-05 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls