5 Replies Latest reply on Mar 9, 2009 12:19 PM by Nick Belaevski

    Invalid byte 2 of 3-byte UTF-8 sequence

    Kto ToTaki Newbie

      Converted RichFaces application from jsf pages to Facelets and xhtml pages. Got Invalid byte 2 of 3-byte UTF-8 sequence on pages using Norwegian character set.
      Sun xerces parser try to parse the page and don't understand UTF-8 chars.

      page starts with :

      <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
      
      and in head section
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>


      Happens the same in RF demo if you change a text using æø
      You can omit this using number representation like
      æ for æ
      but you have to rewrite all pages.