--- Form.cc 2012-12-18 11:44:30.743870156 +0100 +++ Form.cc.patched 2012-12-18 11:47:08.379868652 +0100 @@ -716,6 +716,7 @@ if (parent_name->hasUnicodeMarker()) { unicode_encoded = gTrue; full_name = convertToUtf16(full_name); + full_name->del(0, 2); // Remove the unicode BOM full_name->insert(0, parent_name->getCString() + 2, parent_name->getLength() - 2); // Remove the unicode BOM } else { full_name->insert(0, parent_name); @@ -744,6 +745,7 @@ if (partialName->hasUnicodeMarker()) { unicode_encoded = gTrue; full_name = convertToUtf16(full_name); + full_name->del(0, 2); // Remove the unicode BOM full_name->append(partialName->getCString() + 2, partialName->getLength() - 2); // Remove the unicode BOM } else { full_name->append(partialName);