mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
@@ -313,7 +313,7 @@ index int(rune) rune char bytes
|
||||
|
||||
请将输出结果和 Listing 5.7(for_string.go)进行对比。
|
||||
|
||||
我们可以看到,常用英文字符使用 1 个字节表示,而中文字符使用 3 个字符表示。
|
||||
我们可以看到,常用英文字符使用 1 个字节表示,而汉字(**译者注:严格来说,“Chinese: 日本語”的Chinese应该是Japanese**)使用 3 个字符表示。
|
||||
|
||||
**练习 5.9** 以下程序的输出结果是什么?
|
||||
|
||||
|
Reference in New Issue
Block a user