|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Default encoding for fileHi,
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 |
|
|
Re: Default encoding for fileSorry for late reply, I've missed this message somehow.
What you describe is probably a bug, the maven support shall work exactly the same as ant web projects as far as I'm concerned. please file a bug, preferably with a sample project setup. Regards milos On Thu, Feb 28, 2008 at 1:40 PM, george_007 <jiri.pejchal@...> wrote: > > 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 > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |