aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-15 20:41:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-15 20:41:00 +1300
commit0fcf0ef6e8e063f92241ac6573cecdc8e6f7c2af (patch)
tree3b7cdc69baafdd8c51a5c692ecadc602048a36d4
parentAdd another example (diff)
downloadwtf8-0fcf0ef6e8e063f92241ac6573cecdc8e6f7c2af.tar.gz
wtf8-0fcf0ef6e8e063f92241ac6573cecdc8e6f7c2af.zip
s/byte/octet/
-rw-r--r--README.markdown2
-rw-r--r--wtf8.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 90facd3..3919e7b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -1,7 +1,7 @@
wtf8
====
-Tiny utility for interactive use to inspect the bytes of UTF-8 strings in line
+Tiny utility for interactive use to inspect the octets of UTF-8 strings in line
with the characters. Expects a single argument, a string.
$ LANG=C.UTF-8
diff --git a/wtf8.c b/wtf8.c
index 0b8f3a8..6f44dfd 100644
--- a/wtf8.c
+++ b/wtf8.c
@@ -31,7 +31,7 @@ void print_octets(char *s) {
/*
* Print each of the UTF-8 characters to align with the output of
- * print_octets(), with each character in line with the end of the byte that
+ * print_octets(), with each character in line with the end of the octet that
* terminates it, ending with a newline
*/
void print_characters(char *s) {