use open ':encoding(UTF-8 BOM)';