浏览代码

Update string.md

Marco Bambini 5 年之前
父节点
当前提交
b15485b23b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/string.md

+ 2 - 2
docs/string.md

@@ -1,6 +1,6 @@
 ### String
 
-Strings are an immutable sequence of characters. String literals can be surrounded with double or single quotes.
+Strings are an immutable sequence of characters. String literals can be surrounded with double or single quotes. Gravity supports UTF-8 strings and characters.
 ```swift
 	var a = "Hello World";  // double quotes
 	var b = 'Hello World';  // single quotes
@@ -58,4 +58,4 @@ Strings can contain inline expressions with backslash and parentheses.
 	var amount = 7
 	var fruit = "apples"
 	var n = "You have \(amount) \(fruit)!"  // n is now "You have 7 apples!"
-```
+```