6 Replies Latest reply on Aug 13, 2017 8:11 AM by Jens Barner

    convert asp string to UTF-8?

    chrisatflash Level 1
      Hello,

      I have a plain text file with special charset like ' ëèé'
      I finally got it to work. But now i am trying to use a asp file to write out the text. But i don't
      know how to convert to UTF-8 in ASP.

      I have this, but it still does not work:

      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title>TEST</title>
      </head>
      <%

      'set output character set
      Response.CharSet = "utf-8"

      Response.Write("This is a test éèè")

      %>
      </body>
      </html>

      Does anyone has knowledge of how this could be done?

      Regards,

      Micheal.