regen with charset