perl-unicode

Re: unicode issue in Perl CGI

2006-07-08 22:18:47
1. You could try changing the character encoding of your browser. In
Firefox, View/Character Encoding.
2. Ensure that you have the relevant font installed on your computer
3. If that works, then you probably want to set the character encoding
of the page. Look in the CGI.pm module and you will see that you can set
the charset to be used. For example,  to set utf8:
    $q->charset('utf-8') ; 

Peter



On Fri, 2006-07-07 at 18:03 +0530, uttam hoode wrote:
hi friends,
    i have  a CGI form which recieves name, address etc and stores it
in Oracle database.
For english language it is working fine. but when i try to store some
arabic data it is 
displayed as '??????' (in browser, when queried) . 
  
also i want to know how to compare two unicode values in Perl.

 eg  $city eq "xxxxxxxx"   where x  is a unicode data in hebrew



Regards,
uttam 

<Prev in Thread] Current Thread [Next in Thread>