[Israel.pm] (no subject)

Ernst, Yehuda yernst at nds.com
Sun Jun 17 04:00:06 PDT 2007


but i need to do it on the fly in my program

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il]On
Behalf Of Amir E. Aharoni
Sent: Sunday, June 17, 2007 1:54 PM
To: Perl in Israel
Subject: Re: [Israel.pm] (no subject)


On 17/06/07, Ernst, Yehuda <yernst at nds.com> wrote:>> Hello!>> I have a text in Unicode like this> ×-×¥ ×"×(c)רון>> how do i convert it to Hebrew ASCII (string) so i can pass it as a parameter in my perl code?
Usually Perl prefers Unicode (except if it's a very old version of Perl.)
Do you want to use Perl to do the conversion or can you use something else?
For simple Unicode conversion i usually just use a web browser. I putthe string in a text file, open it in a web browser (Internet Explorerand Mozilla are both OK), and then i change the encoding and copy thefile wherever i want.
It usually works for simple one-time tasks. If you need something moreautomatic, please describe your situation in more detail. Where areyou running the Perl program (Unix, Linux, Windows)? Do you pass it asa parameter through the command line or do you read the string from afile?
_______________________________________________
Perl mailing list
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl
*************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only.  Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited.  If you have received this message in error, please immediately notify the postmaster at nds.com and destroy the original message.  Messages sent to and from NDS may be monitored.  NDS cannot guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.  You should carry out your own virus checks before opening any attachment.  Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.
**************************************************************************************




More information about the Perl mailing list