Images with Diacritical marks in name don't show in HTML

  • Thread starter Thread starter Another Augustwind
  • Start date Start date
A

Another Augustwind

Guest
I'm getting the image name from a sql server:

../images/Diuréticos, medicamentos contra trastornos del equilibrio ácido-base, glaucoma.jpg

on a Win 2008 Server, showing the source, this shows correctly in the HTML page:

<img src='../images/Diur&#233;ticos, medicamentos contra trastornos del equilibrio &#225;cido-base, glaucoma.jpg'>

on a Windows 2016 Server, it shows this source:

<img src='../images/Diur&amp;#233;ticos, medicamentos contra trastornos del equilibrio &amp;#225;cido-base, glaucoma.jpg' alt="" />

The image does not show in the the HTML page.

Also, in IIS, .Net Globalization encoding is set to utf-8

Any ideas why?

Continue reading...
 
Back
Top