Use the correct encoding directive in erb templates.