Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » HTML encoding cp1252
HTML encoding cp1252 [message #544992] Tue, 06 July 2010 05:50 Go to previous message
Rik Missing name is currently offline Rik Missing name
Messages: 7
Registered: July 2009
Junior Member
Little Problem: in preferences->web->html->Encoding, I can't enter an arbitrary IANA name/encoding nor I find what I need (Windows-1252 or equivalent cp1252). I can do that for workspace file encoding or project encoding, but not on html encoding.

So happens that when I create a new html file, automatically I got a meta http-equiv that I must change manually from utf-8 or iso-8859-1 to windows-1252 or cp1252
<meta http-equiv="Content-Type" content="text/html; charset=cp1252" />

This happens on Linux but also on Windows platform.

A simple solution is to change the template, but I want anyway hilight this point because:
Quote:
the draft HTML 5 specification requires that documents advertised as ISO-8859-1 actually be parsed with the Windows-1252 encoding.


So, shouldn't be possibile to set html encoding to cp1252 or Windows-1252? Rolling Eyes
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic:WTP 3.2 and Tomcat 7 - webapp defined context.xml is broken
Next Topic:Can anyone explain this JSP validation warning?
Goto Forum:
  


Current Time: Sun May 19 04:04:17 EDT 2013

Powered by FUDForum. Page generated in 0.01763 seconds