added bom_utf8, bom_utf16le and bom_utf16be in codec class
added comment