Page 1 of 1

How to Identify and replace CLOUD (U+2601)

Posted: Sun Feb 28, 2010 2:27 am
by pklcnu
Dear Experts

The source data that I have contains the special character (symbol) ' CLOUD (U+2601) ☁ ' which needs to be replaced with ' xyz' .

How should I achieve this ? I am aware of convert function but not sure how to handle this.

FYI this cloud is shown as question mark if I view the data .

Any help will be much appreciated.

Thanks

Posted: Sun Feb 28, 2010 4:20 am
by ray.wurlod
Search for the parallel Ereplace() function on DSXchange. You will be replacing one character with three, so Convert() is inappropriate.

Posted: Mon Mar 01, 2010 3:49 am
by pklcnu
Hi Ray , Thanks for your time and reply.

My problem is not with either Convert or Ereplace functions, but copying the cloud symbol in to datastage transformer stage.

I want to write some thing like this.....

Convert('☁','xyz',ColName) but I was unable to copy this cloud symbol for conversion......please help me.

Thanks

ray.wurlod wrote:Search for the parallel Ereplace() function on DSXchange. You will be replacing one character with three, so Convert() is inappropriate. ...

Posted: Mon Mar 01, 2010 4:13 am
by ray.wurlod

Code: Select all

UniChar(2601)

Posted: Mon Mar 01, 2010 10:52 am
by shyam_etl
Hi Ray

Thanks for the reply ,The UniChar function is not available in PX, how to handle this with out using Basic Transformer ?

ray.wurlod wrote:

Code: Select all

UniChar(2601)