aboutsummaryrefslogtreecommitdiffstats
path: root/docs/introduction-to-smart-contracts.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/introduction-to-smart-contracts.rst')
-rw-r--r--docs/introduction-to-smart-contracts.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst
index 1a3cf638..fd12e97b 100644
--- a/docs/introduction-to-smart-contracts.rst
+++ b/docs/introduction-to-smart-contracts.rst
@@ -57,6 +57,14 @@ and overwrite your number, but the number will still be stored in the history
of the blockchain. Later, we will see how you can impose access restrictions
so that only you can alter the number.
+.. note::
+ All identifiers (contract names, function names and variable names) are restricted to
+ the ASCII character set. It is possible to store UTF-8 encoded data in string variables.
+
+.. warning::
+ Be careful with using Unicode text as similarly looking (or even identical) can have different
+ code points and as such will be encoded as a different byte array.
+
.. index:: ! subcurrency
Subcurrency Example