call "CBL_STRING_CONVERT" using by reference in-string by value in-length by value in-encoding by reference out-string by reference out-length by value out-encoding by value flags by reference reserved returning status-code.
Value | Encoding |
---|---|
0 | UTF-8 |
1 | UTF-16 (native) |
2 | UTF-16 (portable) |
3 | ASCII/MBCS characters (ANSI characters) |
4 | EBCDIC character (CHARSET"EBCDIC" encoding) |
5 | ASCII/MBCS characters (OEM characters) |
6 | Base641 ASCII |
7 | Base64 EBCDIC |
8 | Base64 BINARY |
Value | Encoding |
---|---|
0 | UTF-8 |
1 | UTF-16 (native) |
2 | UTF-16 (portable) |
3 | ASCII/MBCS characters (ANSI characters) |
4 | EBCDIC character (CHARSET"EBCDIC" encoding) |
5 | ASCII/MBCS characters (OEM characters) |
6 | Base64 ASCII
Note: Only permitted if the in-encoding is BASE64 BINARY.
|
7 | Base64 EBCDIC
Note: Only permitted if the in-encoding is BASE64 BINARY.
|
8 | Base64 BINARY
Note: Only permitted if the in-encoding is BASE64 ASCII or BASE64 EBCDIC.
|
Value | Result |
---|---|
0 | success |
1 | target buffer too small |
2 | out of memory |
3 | unsupported conversion |
4 | not in use |
5 | invalid source data |