<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib/uc_spec, branch OTP-20.1.3</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Return error tuple on unicode normalization functions</title>
<updated>2017-05-22T13:08:31+00:00</updated>
<author>
<name>José Valim</name>
<email>jose.valim@plataformatec.com.br</email>
</author>
<published>2017-05-19T14:06:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e1370f924df65e72843b5f81400230e1c2591485'/>
<id>e1370f924df65e72843b5f81400230e1c2591485</id>
<content type='text'>
Prior to this patch, the normalization functions in the
unicode module would raise a function clause error for
non-utf8 binaries.

This patch changes it so it returns {error, SoFar, Invalid}
as characters_to_binary and characters_to_list does in
the unicode module.

Note string:next_codepoint/1 and string:next_grapheme had
to be changed accordingly and also return an error tuple.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this patch, the normalization functions in the
unicode module would raise a function clause error for
non-utf8 binaries.

This patch changes it so it returns {error, SoFar, Invalid}
as characters_to_binary and characters_to_list does in
the unicode module.

Note string:next_codepoint/1 and string:next_grapheme had
to be changed accordingly and also return an error tuple.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unicode_util</title>
<updated>2017-04-24T10:16:50+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2017-01-09T12:54:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6d5b392670a427914ad0413e4abbb89dac15ab0a'/>
<id>6d5b392670a427914ad0413e4abbb89dac15ab0a</id>
<content type='text'>
A base for unicode functions, not intended to be a user api.

Whitespace returns a reasonable subset of non nobreak whitespace
characters.

Implementation notes:

Make function clauses instead of using arrays and store tuples instead
of maps to save space.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A base for unicode functions, not intended to be a user api.

Whitespace returns a reasonable subset of non nobreak whitespace
characters.

Implementation notes:

Make function clauses instead of using arrays and store tuples instead
of maps to save space.
</pre>
</div>
</content>
</entry>
</feed>
