def METHOD_NAME(self):
    content = "foo.c:1;test;zkouška sirén"
    store = self.parse_store(content.encode("utf-8"))
    assert len(store.units) == 1
    assert store.units[0].source == "test"
    assert store.units[0].target == "zkouška sirén"
    store = self.parse_store(content.encode("utf-8"), encoding="utf-8")
    assert len(store.units) == 1
    assert store.units[0].source == "test"
    assert store.units[0].target == "zkouška sirén"
    store = self.parse_store(content.encode("iso-8859-2"), encoding="iso-8859-2")
    assert len(store.units) == 1
    assert store.units[0].source == "test"
    assert store.units[0].target == "zkouška sirén"
    with pytest.raises(UnicodeDecodeError):
        store = self.parse_store(content.encode("iso-8859-2"), encoding="utf-8")