utf-8 fixes! Replaced wchar_t with uint16_t. -O2 doesn't increase the binary size that much so let's go for it.
check return value of fgets and exit main loop if EOF is received
styling change: remove uneeded parentheses around dereferenced pointer
Merge pull request #35 from freestyl3r/master

Silence the warning about not checking fgets return value
Merge branch 'master' of https://github.com/LemonBoy/bar