At 18:52 +0800 03/02/2011, Jeff Pang wrote:
2011/2/2 Shlomit Afgin :
> I tried to convert html special characters to their real character.
> For example, converting ” to " .
>
> I had the string
> $str = "“ test ” ÈÒÈÂÔ†¢ª
> The string contain also Hebrew letters.
Could E
On 11-02-02 04:25 AM, Shlomit Afgin wrote:
I tried to convert html special characters to their real character.
For example, converting” to " .
I had the string
$str = "“ test” ניסיון ";
The string contain also Hebrew letters.
This seems to work:
#!/usr/bin/perl
use strict;
use war
2011/2/2 Shlomit Afgin :
>
>
> Hello,
>
> I tried to convert html special characters to their real character.
> For example, converting ” to " .
>
> I had the string
> $str = "“ test ” ניסיון ";
> The string contain also Hebrew letters.
>
Could Encode work on it?
use Encode;
$new =
Hello,
I tried to convert html special characters to their real character.
For example, converting” to " .
I had the string
$str = "“ test ” ניסיון ";
The string contain also Hebrew letters.
1. first I did:
$str = decode_entities($str);
It convert the special characters