Google C++ Style Guideexceed the maximum length. Non-ASCII Characters Non-ASCII characters should be rare, and must use UTF-8 formatting. You shouldn’t hard-code user-facing text in source, even English, so use of non- ASCII (which does not need to be localized) might contain non-ASCII strings. In such cases, you should use UTF-8, since that is an encoding understood by most tools able to handle more than just ASCII. Hex encoding sequences is encoded as UTF-8. Do not use it for strings containing non-ASCII characters encoded as UTF-8, because that will produce incorrect output if the compiler does not interpret the source file as0 码力 | 83 页 | 238.71 KB | 1 年前3
Google Java Style Guideclass it contains (of which there is exactly one), plus the .java extension. 2.2 File encoding: UTF-8 Source files are encoded in UTF-8. 2.3 Special characters 2.3.1 Whitespace characters Aside from0 码力 | 19 页 | 84.76 KB | 1 年前3
共 2 条
- 1













