| Author |
What's this string?
|
|
|
|
| John W. Krahn 2006-12-19, 8:00 am |
| Jm lists wrote:
> http://search.cn.yahoo.com/search? ...6_1006&ei=UTF-8
>
>
> What's the encode format for the
> " %E9%A3%9E%E8%BD%AE%E6%B5%B7%E6%B5%B7%E6%
8A%A5" in above string?I
> tried some ways but got nothing.
perldoc URI::Escape
John
--
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order. -- Larry Wall
| |
|
| or
$string =3D~ s/%([A-F0-9]{2})/chr(hex($1))/eg;
--
tfe
http://tfeserver.homelinux.com
John W. Krahn a =E9crit :
> Jm lists wrote:
%B7%E6%8A%A5&pid=3D65226_1006&ei=3DUTF-8[color=darkred]
>
> perldoc URI::Escape
>
>
>
> John
> --
> Perl isn't a toolbox, but a small machine shop where you can special-order
> certain sorts of tools at low cost and in short order. -- Larry Wall
|
|
|
|