2 Replies Latest reply on Jan 3, 2008 5:28 AM by livenow

    UTF-8 websites

    livenow

      Hi,
      jboss seems to send pages in ISO-8859-1 format, but I'd need dem in UTF-8 format.

      I tried:
      - adding the startup-parameter -Dfile.encoding=UTF-8
      - setting the content-type within the html-document (contentType="text/html; charset=UTF-8")
      - adding the server.xml / 8080 connector-attribute URIEncoding="UTF-8"

      but nothing works, - firefox still shows that the document is transmittet via iso-format..

      any suggestions?

      cheers,
      livenow

        • 1. Re: UTF-8 websites
          jaikiran

          A bit of googling led me to posts which mentioned adding the following to the jsps worked

          <%@ page language="java" contentType="text/html;UTF-8" pageEncoding="UTF-8" %>
          <html>
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
          <title>Testing</title>
          </head>


          • 2. Re: UTF-8 websites
            livenow

            yeah great - so there is no chance to

            - set the default-encoding to utf-8,
            - use utf-8 encoding with html-pages, only works with jsp

            can't be the answer and I was googling for several hours on this :(

            plz help!,