JDK-6544761 : error help dialog in online installer can not display japanese message
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u2
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2007-04-11
  • Updated: 2010-09-29
  • Resolved: 2007-12-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u10 b09Fixed 7Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
a. Set Mozilla Firefox as the default browser
b. Change to a bad system proxy setting
Windows Control Panel> Internet Options> Connections > LAN Settings. 
c. Run online installer to display the error dialog.

if we add japanese translation into DS_ERROR_MESSAGE in src/plugin/win32/jinstall/win32/jinstall_ja.rc, the ja messages will be rendered as squares in the error dialog. The font definition in IDD_ERROR_HELP_DIALOG in the rc file does not take effect. The installer still choose a font not suitable for ja. This is an i18n bug, installer should be able to select corrrect font for japanese messages.
change the synopsis for typo error. It should be online installer not offline.

Comments
EVALUATION Will change the code in ErrorHelpDialog.cpp to add the following section in CreateDialogFont. if (strncmp(szLocaleData, "Japan", 5) != 0) strcpy (lf.lfFaceName, lpszFaceName); else strcpy (lf.lfFaceName, TEXT("MS UI Gothic"));
30-11-2007