Hee... sorry, I just think if I can make the problem becomes more visible
and simple....
What I am now doing is a transation script. From Traditional Chinese(Big5)
to Simiplified
Chinese(GB2312).

As Note, Chinese Chars is a combination of 2 bytes... So, I got every word
back to ASCII
format, and where I got something like this :

.....
b855=cdf2
a456=d5c9
a454=c8fd
a457=c9cf
a455=cfc2
......

LHS is the Big5 Char, and RHS is GB2312.
So I tried to make a hash say

$ch{'b855'} = 'cdf2' ; # something like that .

Then I can operate it like this
$checkThis = 'b855';
$newChar =~ s/($checkThis)/$ch{$1}/eg; # dunno it works or not, not tested
yet =)

So... any warning here ? =)

Rgds,
Connie



----- Original Message -----
From: "Timothy Johnson" <[EMAIL PROTECTED]>
To: "'Connie Chan'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, July 13, 2002 4:53 AM
Subject: RE: Any warning if I use '03E9' like string as a key in hash ?


>
> My only thought is that seeing it out of context, it's not very
descriptive.
> I usually try to pick key names that will help me figure out what I was
> thinking when I made the hash.  But like I said, it depends on context.
> Otherwise if -w and strict don't care, why should I? :)
>
> -----Original Message-----
> From: Connie Chan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 1:50 PM
> To: [EMAIL PROTECTED]
> Subject: Any warning if I use '03E9' like string as a key in hash ?
>
>
> Rgds,
> Connie
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to