aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-11-22 11:05:08 +0100
committerRaimo Niskanen <[email protected]>2011-11-28 14:42:38 +0100
commitaef954289c850f69fee007fe978a627f8fae57e8 (patch)
treed0d1e04162ec3273e5fa4c5cc53c99dc92f589dc
parent589d5c3e4aef2e7bc39eb1a289cbddcdc10b0cd9 (diff)
downloadotp-aef954289c850f69fee007fe978a627f8fae57e8.tar.gz
otp-aef954289c850f69fee007fe978a627f8fae57e8.tar.bz2
otp-aef954289c850f69fee007fe978a627f8fae57e8.zip
stdlib: Fix typo in unicode_usage.xml
Reported by Uwe Dauernheim.
-rw-r--r--lib/stdlib/doc/src/unicode_usage.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/unicode_usage.xml b/lib/stdlib/doc/src/unicode_usage.xml
index 0fa7de0a5c..a7e010a05f 100644
--- a/lib/stdlib/doc/src/unicode_usage.xml
+++ b/lib/stdlib/doc/src/unicode_usage.xml
@@ -59,7 +59,7 @@
<title>Standard Unicode representation in Erlang</title>
<p>In Erlang, strings are actually lists of integers. A string is defined to be encoded in the ISO-latin-1 (ISO8859-1) character set, which is, codepoint by codepoint, a sub-range of the Unicode character set.</p>
<p>The standard list encoding for strings is therefore easily extendible to cope with the whole Unicode range: A Unicode string in Erlang is simply a list containing integers, each integer being a valid Unicode codepoint and representing one character in the Unicode character set.</p>
-<p>Regular Erlang strings in ISO-latin-1 are a subset of there Unicode strings.</p>
+<p>Regular Erlang strings in ISO-latin-1 are a subset of their Unicode strings.</p>
<p>Binaries on the other hand are more troublesome. For performance reasons, programs often store textual data in binaries instead of lists, mainly because they are more compact (one byte per character instead of two words per character, as is the case with lists). Using erlang:list_to_binary/1, an regular Erlang string can be converted into a binary, effectively using the ISO-latin-1 encoding in the binary - one byte per character. This is very convenient for those regular Erlang strings, but cannot be done for Unicode lists.</p>
<p>As the UTF-8 encoding is widely spread and provides the most compact storage, it is selected as the standard encoding of Unicode characters in binaries for Erlang.</p>