A simple UTF-8 encoder and decoder.
I did this as a start project of learning deeper how systems programming works, since it is something that really gets my attention.
With this project I could understand how UTF-8's treatment are under the hood, got a better understanding of how C strings work and created my first Makefile.
I used only this UTF-8 article from Wikipedia to see how the encoding is made, and to the decoding, I just used the reverse logic.
If you want try it on your machine, you can use the following commands:
To clone the repo and get inside it:
git clone https://github.com/Lohan-Yrvine/utf-8
cd utf-8
To only compile the program:
make
To run (and compile, if needed):
make run
To clean the executable and object files:
make clean