|  | 
|  |  |  |  | 
This built-in function decodes a value from a universal charstring and cuts the consumed part from the universal charstring.
Related keywords:
| decvalue_unichar( inout bitstring_value, out decoded_value [, in string_serialization [, in encoding_info [, in dynamic_encoding]]] ) return integer; | 
Example 1:
type float MyFloat with { encode "RAW" }
var MyFloat f := 1.1;
var universal charstring ucs := encvalue_unichar(f);
var integer i := decvalue_unichar(ucs, f);
Example 2:
type record MyRecord {
   integer num,
   charstring str
}
with {
   encode "XML";
   encode "JSON";
}
var MyRecord r := { num := 3, str := "abc" };
var universal charstring ucs := encvalue_unichar(r, "UTF-8", "", "JSON");
var integer i := decvalue_unichar(ucs, r, "UTF-8", "", "JSON");
BNF definition of decvalue_unichar