[mevenide-user] Default encoding for file

george_007 <[email protected]> Thu, 28 Feb 2008 03:40:07 -0800 (PST)
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
Hi,

when set encoding for Netbeans web project to UTF-8 and choose with right
click
Project -> New -> New xhtml file and the file has no declared encoding in
meta tag,
than UTF-8 is used for that file.

However when I right click on a maven project and create an xhtml file
without 
encoding declaration in the meta tag, the platform encoding is used (cp-1250
in my case) .

Can I set the default encoding for xhtml files to UTF-8 somehow or is it a
bug?

I have maven plugin 3.0.10 and Project properties (right click on a maven
project with letters 'ma') -> 
Sources -> Encoding set to UTF-8. 

With encoding declaration in the meta tag everything is OK, but I need to
include the xhtml 
file to another one in facelets.

Thanks.

Jiri Pejchal
-- 
View this message in context: http://www.nabble.com/Default-encoding-for-file-tp15734631p15734631.html
Sent from the mevenide - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email