The title is self explanatory. Using the following controller:
def index(conn, _params) do
render(conn, "index.html", %{myvar: 'héhé'})
end
the accented letters are not displayed correctly with the following template:
<div>
<%= @myvar %>
</div>
However, accented letters directly written in the template are displayed correctly. Maybe some processing is done to the assigns
map ?