Skip to content

Commit 510761b

Browse files
committed
Document unicode identifiers
1 parent f8a3b9c commit 510761b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Pluto allows you to use non-ASCII characters for variable names, whereas in Lua this would be invalid:
2+
3+
```pluto
4+
local ヴァ = "hello"
5+
print(ヴァ) --> hello
6+
```
7+
8+
On the technical side, this just means the byte range 0x80-0xff is now allowed, so one might say that this is not specific to the Unicode/UTF-8 standard, but we highly discourage the use of encodings other than UTF-8 due to interoperability concerns.

0 commit comments

Comments
 (0)