encode entities, update gitignore, add system codepage setting to config.php