EPC: fix encoding and regen _site