This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234624 - Javascript etidor don't save as UTF-8 with BOM
Summary: Javascript etidor don't save as UTF-8 with BOM
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2013-08-20 08:59 UTC by DanjaKeiras
Modified: 2013-08-20 08:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description DanjaKeiras 2013-08-20 08:59:07 UTC
I'm a newbie to JSF thou...
write a javascript including multi-byte language on NB, and save the code, NB generates a file as UTF-8 without BOM. So, when running my JSF including such code (external javascript file), muiti-byte language don't be displayed properly.


and include into a .xhtml:
<script type="text/javascript" src="test.js"></script>

display result:

open the test.js on Notepad (on windows) and save the file as UTF-8 again, test.js is saved with BOM. then test.js is displayed properly.

my environment:
NB 7.3.1
OS: windows 7
server: glassfish 4.0