facebook

Wrong file encoding is determined from content for .xhtml

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #312172 Reply

    If i create new Facelets-Page with
    New -> XHTML (Advanced Templates) -> ICEfaces Facelets Templates
    it creates me a file, which declares XML as
    <?xml version=”1.0″ encoding=”UTF-8″?>
    But inspite of this declaration, the file properties keep telling me that
    “Determined from content: CP-1252”

    It seems that the Text Editor does not recognize this declaration.

    On the other side, if a Standard Facelets Template is used, it creates a HTML-Head with content-encoding set to UFT-8, which is recognized.

    Since the HTML-Head is not needed everytime (think of Portlets or Facelets-Components) and Facelets will throw an error if you use the wrong encoding in a page (e.g. for german umlauts), this sucks.

    #312263 Reply

    simon.erhardt,

    We could replicate it at our end and filed a PR with the development team. This would be included in 9.0M2 to be released in December.

    #312264 Reply

    Shalini,

    wow, thank you for your fast and concrete reply. I start to like commercial eclipse distributions 🙂

    Regards, Simon

    #312266 Reply

    Thanks Simon,
    Do let us know if you have any issues.

    #315721 Reply

    Tried Version 9.0 yesterday – it works perfectly.
    Thanks!

    Simon

    #315722 Reply

    Tried Version 9.0 yesterday – it works perfectly.
    Thanks!

    Simon

    #315741 Reply

    support-swapna
    Moderator

    simon.erhardt,

    Glad that you are all set.
    Do let us know if you have any other issues.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Wrong file encoding is determined from content for .xhtml

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in