Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-10-23 22:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.