I have a code that displays the $168,00 symbol on the jsp page, but it changes to the ¤168,00 symbol, but when I try run my project using public IP or using my IP in another client, the $ symbol doesn't change to ¤, there is no problem
I have tried using type="currency" and currencySymbol="$" it works, but when I use currencySymbol="$" it affects the results of the functions I use. previously I only used type="currency" and it worked, but when I commit my project the $ symbol changed to ¤
But In other browsers it works fine Mozilla ($168,00)
Iam using Google Chrome Version 76.0.3809.132 (Official Build) (64-bit)
I declare character encoding in the headers using
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib uri="http://sargue.net/jsptags/time" prefix="javatime"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
value='<fmt:formatNumber type="currency" value="${project.Amount}" minFractionDigits="2" maxFractionDigits="2" />'