Thymeleaf bad rendering charachters in html

Hi
I’m using the new feature of Shinyproxy “template-path” to customize the homepage of shinyproxy.
My page contains some characters accentuation like “é, à, è”, but shinyproxy renders them to ��.

HTML code example :

Preview with Shinyproxy :
image

The file encoding is UTF-8 :
image

Is there any way to configure the resolver to use utf-8, from the application.yml ?

resolver.setCharacterEncoding("UTF-8");

I found that “proxy.template-path” is used in the container-proxy application, here :

Thank you for your help

ada

Hi

Unfortunately, I cannot reproduce the problem. I tried with a few (special) UTF-8 characters and everything is working fine here. I tried with both firefox and chrome.

Can you send the exact template file you are using (as text)?

Hi @tdekoninck,
Thank you for your response !
Which shinyproxy version did you used ? I tried with 2.6.1 and 3.0.0 and both not working, with accentuated charachters.
Did you build shinyproxy JAR with html inside or used the proxy.template-path param ?

Here the html code :

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
        <head lang="en">
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        </head>
        <body>
                <p> Héloà</p>
                <p>Hello</p>
        </body>
</html>

Regards
Ada