Skip to content

11mushroom/UTF8sten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

UTF8sten version 0.1.2

decode data from UTF-8 characters or encode data in UTF-8 characters


Building

  • clone repository if not already cloned

    git clone https://github.com/11mushroom/UTF8sten.git
    
  • go to the src directory

    cd 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 install
    

    after previous step

  • to install to custom path using Makefile1: you can specify PREFIX:

    make -f Makefile1 install PREFIX=$HOME/.local
    

    you can specify the installation directory INSTDIR:

    make -f Makefile1 install INSTDIR=$HOME/.local/bin
    

Usage of encoder and decoder scripts

./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 "腦蘦襲蘶"
fabric

text which encoder gives you doesn't have any meaning in any language

also you can pipe data in, eg.

$ echo "fabric"|./encoder
腦蘦襲蘶
$ echo "腦蘦襲蘶"|./decoder
fabric

also you can do this

$ echo "fabric"|./encoder|./decoder
fabric

Usage of encoder2 and decoder2 scripts

almost the same as usage of encoder and decoder

decoder can decode output of both encoder and encoder2

About

No description, website, or topics provided.

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE.txt
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors