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

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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
[email protected]
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 [EMAIL PROTECTED] 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.
**************************************************************************************

_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to