From 84b347297cb811494769704f1eaf457da479c9a3 Mon Sep 17 00:00:00 2001 From: custa Date: Mon, 15 Aug 2016 01:40:47 +0800 Subject: [PATCH] =?UTF-8?q?[]rune=E7=B1=BB=E5=9E=8B=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E8=A1=A8=E8=BF=B0=E4=B8=8D=E5=87=86=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ch3/ch3-05-3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch3/ch3-05-3.md b/ch3/ch3-05-3.md index 3031c6b..bee0841 100644 --- a/ch3/ch3-05-3.md +++ b/ch3/ch3-05-3.md @@ -119,7 +119,7 @@ for range s { UTF8字符串作为交换格式是非常方便的,但是在程序内部采用rune序列可能更方便,因为rune大小一致,支持数组索引和方便切割。 -string接受到[]rune的类型转换,可以将一个UTF8编码的字符串解码为Unicode字符序列: +将[]rune类型转换应用到UTF8编码的字符串,将返回字符串编码的Unicode码点序列: ```Go // "program" in Japanese katakana