import encodingerror from its canonical location