When we are trying to encode characters via JS file, we are getting funky characters instead of expected characters. Could you please help us in resolving the issue ?
example : special character “*” is replaced with “?” in the webpages.
please note we have added below filter to the site/web.xml in our source code.
If you mean a js resource through webfiles, then just make sure the js file content is saved in UTF-8 encoding, not in something else.
In bloomreach V13, we are getting the charset value as “ISO-8859-1” in our local environment. refer below snapshots
But in version 12 we can see “UTF-8”.
Could you please suggest ?
Could you give a URL path example which responds with “Content-Type: text/html;charset=ISO-8859-1”?
I just want to know whether it is a normal hst page request or a binary asset or webfile resource.
P.S. By the way, the CharacterEncodingFilter won’t affect the response encoding, but it’s only for setting the request encoding.