Page 1 of 1

Posted: Wed Mar 04, 2009 7:03 pm
by ray.wurlod
Do you have NLS enabled?

Posted: Wed Mar 04, 2009 8:33 pm
by ag_ram
yes i have NLS enabled.

I tried for a couple of options also like ISO8859-1+MARKS, ISO8859-1 along with UTF-8.

The issue is, the logic is working fine with most of the characters but it can't identify anything whose hex value is > 256 for these characters it's reading as ? through seq file no matter what NLS map i am trying where as in test routine console it's able to identify and convert it according to the logic.

Posted: Wed Mar 04, 2009 10:26 pm
by ray.wurlod
Well ISO8859-1 only goes up to 255, so that will never work. What happened when you tried UTF8 as the map (and did you set UTF8-CS as the client-server map in this case)? Are you seeing the ? (unhandled character) only in View Data, or also in the output file? Finally have you tried using the pseudo-map NONE ?

Posted: Tue Mar 24, 2009 10:29 am
by asorrell
Not to hijack a thread - but does the pseudo-map NONE just do a pass-through of the data? It isn't in the doc...

Posted: Tue Mar 24, 2009 2:06 pm
by ray.wurlod
When you need to check characters beyond 255, use UniChar() and UniSeq() rather than Char() and Seq(). Convert() is not affected.

NONE is a pseudo-map that, yes, does a pass-through. Its the correct map to use for working with hashed files that don't need to be accessed by non-NLS systems.