We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43d874 commit dfedf7cCopy full SHA for dfedf7c
lib/std/ascii.zig
@@ -1,13 +1,11 @@
1
-//! The ASCII character encoding standard.
+//! The 7-bit [ASCII](https://en.wikipedia.org/wiki/ASCII) character encoding standard.
2
+//!
3
+//! This is not to be confused with the 8-bit [Extended ASCII](https://en.wikipedia.org/wiki/Extended_ASCII).
4
5
+//! The reason `u8` is used as the type instead of `u7` is convenience.
6
//!
7
//! See also: https://en.wikipedia.org/wiki/ASCII#Character_set
8
-// I could have taken only a u7 to make this clear, but it would be slower
-// It is my opinion that encodings other than UTF-8 should not be supported.
-//
-// (and 128 bytes is not much to pay).
9
-// Also does not handle Unicode character classes.
10
-
11
const std = @import("std");
12
const mem = std.mem;
13
const testing = std.testing;
0 commit comments