jsp utf encoding

后端 未结 4 1403
广开言路
广开言路 2021-01-18 00:54

I\'m having a hard time figuring out how to handle this problem:

I\'m developing a web tool for an Italian university, and I have to display words with accents (such

4条回答
  •  遇见更好的自我
    2021-01-18 01:22

    I have some international jsp's [which have "special" international (with respect to English) characters].

    Inserting this [and only this, i.e: no contentType directive also (that made a duplicate contentType error)] at the top of them got them to save and render correctly:

    <%@page pageEncoding="UTF-8"%>
    

    This reference [http://www.inter-locale.com/codeset1.jsp] helped me discover that.

提交回复
热议问题