platform independent: remove BOM, use standard UTF-8 instead. Now the program runs correctly on both unix/linux and windows.