use encodings as keys in BomUtils