aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-15 19:59:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-15 19:59:57 +1300
commit440f8b52e590ada47c4f3aacbfea56bee360e0d4 (patch)
treece141f3a9a47784f7ffdfcc7753a82d560b62bff
parentAdd TODO (diff)
downloadwtf8-440f8b52e590ada47c4f3aacbfea56bee360e0d4.tar.gz
wtf8-440f8b52e590ada47c4f3aacbfea56bee360e0d4.zip
Add README and LICENSE
-rw-r--r--LICENSE21
-rw-r--r--README.markdown23
2 files changed, 44 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e77fee1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2016 Tom Ryder
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 0000000..6ef133f
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,23 @@
+wtf8
+====
+
+Tiny utility for interactive use to inspect the bytes of UTF-8 strings in line
+with the characters. Expects a single argument, a string.
+
+ $ make
+ $ ./wtf8 test
+ 74 65 73 74
+ t e s t
+ $ ./wtf8 tøást
+ 74 c3 b8 c3 a1 73 74
+ t ø á s t
+
+Author
+------
+
+Tom Ryder <tom@sanctum.geek.nz>
+
+License
+-------
+
+MIT (see LICENSE)