I have some reports made on Spanish by someone. These work properly if I install the Tomcat server on Windows, however we recently switched the whole stack to Ubuntu and now I am facing this problem where all the accented characters look like this.
"País de Origen" should be showing México, for example. If you can see, the word País as template words do show correctly. I am querying this data from a MariaDB instance.
Any help appreciated

Thanks a lot for your suggestions, I managed to fix it by following my only clue which was that the template accents were rendered correctly but dynamic data wasn't.
With this I edited the database connection URL to
jdbc:mysql://db:3306/mycooldb?characterEncoding=UTF-8and that fixed it.This setting I got from this article: https://balusc.omnifaces.org/2009/05/unicode-how-to-get-characters-right.html