[
http://jira.codehaus.org/browse/MEVENIDE-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134964#action_134964 ]
Jiri Pejchal commented on MEVENIDE-633:
---------------------------------------
Setting project.build.sourceEncoding to UTF-8 has indeed fixed the problem. Thanks.
> Default encoding for xhtml file in netbeans
> -------------------------------------------
>
> Key: MEVENIDE-633
> URL:
http://jira.codehaus.org/browse/MEVENIDE-633> Project: mevenide
> Issue Type: Bug
> Components: mevenide2-netbeans
> Affects Versions: NB_3.1
> Environment: windows xp, netbeans 6.1, maven plugin 3.1.1
> Reporter: Jiri Pejchal
> Assignee: Milos Kleint
> Fix For: NB_3.2
>
>
> When I set encoding in Netbeans for a web project to UTF-8 and do a right click on project name in
> Projects: 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).
> I have maven plugin 3.1.1 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email