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.
It is now possible to set project files encoding only after project is created. Other NB modules are implemented in the same way. But for PHP project it is requested to have encoding selection in project creation wizard.
will fix after 6.0
added I18N to summary and I18N keyword, as is done for i18n related issues for internal tracking. please let me know if any other php issues on i18n so far and I can add that info to them also. question - if user changes project encoding after project creation, will module handle that as to communication with php and changing needed config files or properties ? ken.frank@sun.com
do php files/language have an encoding attribute or property themselves ? if so, should part of the feq implemenation for php have this attribute in the template, like is done for jsp, html, xml files ? if not, do they follow that of the program they are embedded in if its html, for example ? ken.frank@sun.com
I see encoding property now but its not the default utf-8 encoding property that is used by all other modules - assuming user has not changed that property in another module. I see on new php project wizard a choice for encoding but its seeded with encoding of the locale user is in, ie x-euc-jp -- thus in that sense I can see why project props has that value also. But should user need to choose encoding at time of creating project - other nb projects don't ask or require this ? or perhaps if needed, the choice should be seeded with current global project encoding - default is utf-8 ? am making p2 since that is more accurate priority for encoding situations. ken.frank@sun.com
please comment on this as to php for 6.5 - - should encoding choice be in wizard of php project ? (its not for other nb projects) - should encoding choice in wizard (or default encoding if not in wizard) be that of utf-8, which is default for other nb projects vs the encoding of locale user is in, which is how its done now for php project ? ken.frank@sun.com
This feature is already implemented.
I'm marking as fixed.
the default choice for the encoding at project creation time is encoding of the locale user is in, but netbeans default project encoding is utf-8 -- should php wizard seed the choice with utf-8 or is it more common that php developers would not use utf-8 encoding ? ken.frank@sun.com
UTF-8 is definitely the most widely used encoding in PHP applications IMHO.
verified, and also the seeded encoding is the value of the current global project encoding, which seems to be right solution. ken.frank@sun.com
verified.