in reply to Re^3: Somthing related to encoding ??
in thread Somthing related to encoding ??
Thanks for your reply , and i have tryed what you said
with no chance :S still getting the same thing
This is what i've tryed
#!/perl/bin/perl -w print "Content-type: text/html\n\n"; use strict; use Encode; my $string = encode("utf-8","أخي الزائر،"); my $encoded = join '',map { '&#' . ord($_) . ';'} split '',$string; print("$encoded\n");
is there anything i've forgot ? or missed ??
Thanks for your help :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Somthing related to encoding ??
by fishbot_v2 (Chaplain) on Aug 10, 2005 at 19:07 UTC |