RE: z/OS unicode problem.

2005-03-03 Thread Rajarshi Das
. From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>, Subject: RE: z/OS unicode problem. Date: Thu, 3 Mar 2005 10:29:22 +0530 Hi, May be this is could be useful; Unicode characters have two bytes for each character. Each character has "0x00" following to the each character.

RE: z/OS unicode problem.

2005-03-03 Thread Graeme St. Clair
This looks like a bug (hfff!) in your version of Perl. On my Windows XP combo Perl/Apache (ActivePerl 5.6.1 Build 635), it barfs on both expressions, thus:- #!/usr/local/bin/perl use strict; use warnings; use Data::Dumper; use charnames ':full'; $a = "\N{LATIN S

RE: z/OS unicode problem.

2005-03-03 Thread Graeme St. Clair
further. Rgds, GStC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 11:59 PM To: [EMAIL PROTECTED]; beginners@perl.org Subject: RE: z/OS unicode problem. Hi, May be this is could be useful; Unicode characters have two bytes

RE: z/OS unicode problem.

2005-03-02 Thread suresh.pasupula
Hi, May be this is could be useful; Unicode characters have two bytes for each character. Each character has "0x00" following to the each character. You need to remove the "0x00" after each character and then do the Regular Expression matching. my $temp = chr(0x00); $line =~ s/$temp//g; this rem