From ac5fd64c238a88493d24a33cc7bc20313799385f Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 1 Sep 2017 19:18:46 +0100 Subject: Mention that different Unicode codepoint can look the same --- docs/introduction-to-smart-contracts.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst index 33a8ad10..fd12e97b 100644 --- a/docs/introduction-to-smart-contracts.rst +++ b/docs/introduction-to-smart-contracts.rst @@ -61,6 +61,10 @@ so that only you can alter the number. 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 -- cgit