diff options
author | Anders Svensson <[email protected]> | 2013-07-24 11:05:34 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-07-30 17:56:53 +0200 |
commit | 8f69052ae8c27115f0cd1756e6949139759aa751 (patch) | |
tree | 9c2f02386fb75bd710f56d0c7d262d4abceb91ad /lib/diameter/doc/src | |
parent | 4c4cf7d15b5179808e7e614694113e47277fd22d (diff) | |
download | otp-8f69052ae8c27115f0cd1756e6949139759aa751.tar.gz otp-8f69052ae8c27115f0cd1756e6949139759aa751.tar.bz2 otp-8f69052ae8c27115f0cd1756e6949139759aa751.zip |
Fix UTF8String encode
To accept any nested list of codepoints and binaries. A list containing
a binary was previously misinterpreted and the documentation was
incomplete.
Also, rework codec suite slightly to be able to specify values for which
decode o encode is the identity map, for which encode should succeed,
and for which encode should fail.
Diffstat (limited to 'lib/diameter/doc/src')
-rw-r--r-- | lib/diameter/doc/src/diameter_dict.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/diameter/doc/src/diameter_dict.xml b/lib/diameter/doc/src/diameter_dict.xml index 4fcde495b3..8bf4a14240 100644 --- a/lib/diameter/doc/src/diameter_dict.xml +++ b/lib/diameter/doc/src/diameter_dict.xml @@ -609,7 +609,9 @@ UTF8String() = [integer()] <p> List elements are the UTF-8 encodings of the individual characters in the string. -Invalid codepoints will result in encode/decode failure.</p> +Invalid codepoints will result in encode/decode failure. +On encode, a UTF8String() can be specified as a binary, or as a nested +list of binaries and codepoints.</p> <marker id="DiameterIdentity"/> <pre> |