converted about half of the source to UTF-8 with BOM, for better compatibility with IDEs and multiple languages