UTF8sten version 0.1.2
decode data from UTF-8 characters or encode data in UTF-8 characters
-
clone repository if not already cloned
git clone https://github.com/11mushroom/UTF8sten.git -
go to the
srcdirectorycd UTF8sten/src -
run makefile or use cmake
-
make way:
make -f Makefile1 -
cmake way:
cmake -DCMAKE_BUILD_TYPE=Release .and then
make -
if you want to install it you can run
make installafter previous step
-
to install to custom path using Makefile1: you can specify PREFIX:
make -f Makefile1 install PREFIX=$HOME/.localyou can specify the installation directory INSTDIR:
make -f Makefile1 install INSTDIR=$HOME/.local/bin
./encoder "your message"it will print text, which can be given to decoder to get your message back
./decoder "text which encoder gave you"example:
$ ./encoder "fabric"
腦蘦襲蘶
$ ./decoder "腦蘦襲蘶"
fabrictext which encoder gives you doesn't have any meaning in any language
also you can pipe data in, eg.
$ echo "fabric"|./encoder
腦蘦襲蘶
$ echo "腦蘦襲蘶"|./decoder
fabricalso you can do this
$ echo "fabric"|./encoder|./decoder
fabric
almost the same as usage of encoder and decoder
decoder can decode output of both encoder and encoder2