Mention that different Unicode codepoint can look the same

This commit is contained in:
Alex Beregszaszi 2017-09-01 19:18:46 +01:00
parent 88bce877c4
commit ac5fd64c23

View File

@ -61,6 +61,10 @@ so that only you can alter the number.
All identifiers (contract names, function names and variable names) are restricted to 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. 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 .. index:: ! subcurrency
Subcurrency Example Subcurrency Example