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.
using ja locale on solaris, with mobility application project - the default project encoding is utf-8 although user can use characters from the locale they are in and do not need to change project default encoding to do so. create mobility application project with mbyte in its name and a class with mbyte in its name. choose to create java doc - there are syntax errors related to encoding - the errors are in japanese since javadoc error msgs have been translated to japanese, but the clue is in the words EUC_JP_SOLARIS see attached gif of output window errors - the gif is from the same bug on j2se project but the error msgs are the same. now change the project encoding property to euc-jp, which is the default encoding of solaris ja locale, and create another java class with mbyte in its name. now choose to create javadoc - there are no syntax errors associated with this newly created file, but still errors on the previous file that was created when project encoding was utf-8 NOTE - see 106944 for more information and about solution - that one is on j2se project. PS I dont know if this applies to other mobility project types.
Created attachment 44480 [details] image
Yes, this means to add encoding="${javac.encoding}" to the javadoc task.
verified <snip> Generating Javadoc Executing 'C:\Program Files\Java\jdk1.5.0_12\bin\javadoc.exe' with arguments: '-d' 'C:\Documents and Settings\Lukas\My Documents\と粮Joi粮NetBeansProjects粤ろ\MobileApplicationPatInMutlibytes\dist\doc' '-use' '-splitindex' '-encoding' 'windows-31j' '-sourcepath' 'C:\Documents and Settings\Lukas\My Documents\と粮Joi粮NetBeansProjects粤ろ\MobileApplicationPatInMutlibytes\build\ preprocessed' '-bootclasspath' 'F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\wma20.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\jsr082.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\jsr184.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\j2me-ws.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\mmapi.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\jsr75.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\cldcapi11.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\midpapi20.jar' '-source' '1.3' 'hello' The ' characters around the executable and arguments are not part of the command. Javadoc execution パッケージ hello のソースファイルを読み込んでいます... <snip> と粮Joe粮browse-javadoc:粤ろ Browsing: file:/C:/Documents%20and%20Settings/Lukas/My%20Documents/と粮Joi粮NetBeansProjects粤ろ /MobileApplicationPatInMutlibytes/dist/doc/index.html Exiting C:\Documents and Settings\Lukas\My Documents\と粮Joi粮NetBeansProjects粤ろ\MobileApplicationPatInMutlibytes\ build.xml. BUILD SUCCESSFUL (total time: 6 seconds)