Re: unicode issue in Perl CGI

[email protected] (Peter Gordon)
Newsgroups perl.unicode
Message-ID <1152422270.2665.5.camel@tigger>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.