但Lua字串於內部表示時,完全採用8-bits表示,包含0( \0 )。 ... note: with UTF-8 print(string.len("我")) -- equal print(#"我") => 3. 不過Lua是認得UTF-8的,其 ...
確定! 回上一頁