Skip to Content
0
Former Member
Aug 30, 2006 at 12:59 PM

Unicode Hex to Char

1360 Views

Hi there,

I have an hex variable that I want to move to a Char variable.

DATA: x_var(255) type X,

c_var(255).

MOVE x_var to c_var.

I normally used the command MOVE, but my application needs to be unicode compliant and I receive a warning saying that those "variables are not mutually convertible in a Unicode program".

I have tried the STPU1_HEX_TO_CHAR but it expects a C type variable as input so it does not work

Actually, my c_var variable is the header of a table I have declared as RAW, in case it may give some additional hints

Thanks for your support