Commit a8acabf4 authored by stancakapost's avatar stancakapost
Browse files

always decode the same type as the one that was encoded

parent a4439ea6
......@@ -28,7 +28,7 @@ module Sem_160102_predefined_functions_071 {
//decode:
var universal charstring v_test_dec;
var charstring v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-8"); //decode (UTF-8)
if (v_res == 0) {
......
......@@ -26,7 +26,7 @@ module Sem_160102_predefined_functions_072 {
//decode:
var universal charstring v_test_dec;
var integer v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-16"); //decode (UTF-16)
if (v_res == 0) {
......
......@@ -27,7 +27,7 @@ module Sem_160102_predefined_functions_073 {
//decode:
var universal charstring v_test_dec;
var charstring v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-16"); //decode (UTF-16)
if (v_res == 0) {
......
......@@ -26,7 +26,7 @@ module Sem_160102_predefined_functions_074 {
//decode:
var universal charstring v_test_dec;
var integer v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-32"); //decode (UTF-32)
if (v_res == 0) {
......
......@@ -27,7 +27,7 @@ module Sem_160102_predefined_functions_075 {
//decode:
var universal charstring v_test_dec;
var charstring v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-32"); //decode (UTF-32)
if (v_res == 0) {
......
......@@ -27,7 +27,7 @@ module Sem_160102_predefined_functions_076 {
//decode:
var universal charstring v_test_dec;
var integer v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-16LE"); //decode (UTF-16 little endian)
if (v_res == 0) {
......
......@@ -27,7 +27,7 @@ module Sem_160102_predefined_functions_077 {
//decode:
var universal charstring v_test_dec;
var integer v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-16BE"); //decode (UTF-16 big endian)
if (v_res == 0) {
......
......@@ -27,7 +27,7 @@ module Sem_160102_predefined_functions_078 {
//decode:
var universal charstring v_test_dec;
var integer v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-16BE"); //decode (UTF-16 big endian)
if (v_res == 0) {
......
......@@ -27,7 +27,7 @@ module Sem_160102_predefined_functions_079 {
//decode:
var universal charstring v_test_dec;
var integer v_test_dec;
var integer v_res:= decvalue_unichar(v_enc,v_test_dec,"UTF-32BE"); //decode (UTF-32 big endian)
if (v_res == 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment