Specifying Unicode characters in national-language titles

National-language task titles are specified for CMDTask files using the Unicode character set. Task titles can be specified directly in the External Application Launch Wizard, or in resource bundles to which the CMDTask file refers. In either case, characters are typed in the code page in which the user is working.

IBM Director Console supports five code pages, as listed in Table 1.
Table 1. Code pages supported by IBM Director Console
Language Code page
English 850
French 850
German 850
Spanish 850
Japanese SJIS
Korean 949
Simplified Chinese 1381
Traditional Chinese 950

Because IBM Director Console supports multiple code pages, users cannot directly type characters in their current code page for all supported languages. National-language titles for English, French, German, and Spanish can all be typed directly in code page 850, but to specify characters in another code page, a different method must be used.

  1. Translate the title text to be used. Using the translation services available to you, obtain translations of the title text in all the languages you intend to support. Translators will require code page information if they are contracted to provide translated character strings.
    Note: If your translation service will translate the resource bundles you are using, no subsequent steps should be necessary.
  2. To specify a Unicode character in another code page, type a backslash (\) followed by a lower-case "u" and the four-digit hexadecimal number of the Unicode character. For example, the capital letter "A" from code page 850 can be specified with the string \u0041.
    Notes:
    • There are software tools that can convert text entered in a specific code page to this ASCII format. One such tool is native2ascii, which is available in Sun's Java™ Development Kit.
    • Tables of Unicode characters are available on the Unicode Consortium Web site at www.unicode.org/.

Examples

Using character sequences to specify Unicode characters not in the current code page
The following table illustrates values that can be typed for the eight language fields when Use Custom Title is selected in the Title panel of the External Application Launch Wizard.
Table 2. Titles entered using code page 850
Field Value
English Encryption Administration
French Gestion du chiffrement
German Verschlüsselungsverwaltung
Spanish Administración de cifrado
Japanese \u6697\u53f7\u5316\u7ba1\u7406
Korean \uc554\ud638\ud654 \uad00\ub9ac
Simplified Chinese \u52a0\u5bc6\u7ba1\u7406
Traditional Chinese \u52a0\u5bc6\u7ba1\u7406
Note: In this example, it is coincidental that both the Simplified and Traditional Chinese titles use the same characters. This is not always the case.
Sample ResourceBundle file
The following example of a ResourceBundle definition file illustrates the format and content of these files and specification of Unicode characters for national-language titling of external-application tasks in IBM Director Console.
Note: Lines beginning with the number sign (#) are comments only and have no function. However, they can be helpful to the resource bundle provider.
* MySampleResources.properties
  # Generated for locale 'default'
  #
  TitleKey=Encryption Administration
  ParentTaskTitle=External Application Launch

* MySampleResources_en.properties
  # Generated for locale 'default'
  #
  TitleKey=Encryption Administration
  ParentTaskTitle=External Application Launch

* MySampleResources_de.properties
  # Generated for locale 'de'
  #
  TitleKey=Verschlüsselungsverwaltung
  ParentTaskTitle=Start der externen Anwendung

* MySampleResources_es.properties
  # Generated for locale 'es'
  #
  TitleKey=Administración de cifrado
  ParentTaskTitle=Inicio de aplicaciones externas

* MySampleResources_fr.properties
  # Generated for locale 'fr'
  #
  TitleKey=Gestion du chiffrement
  ParentTaskTitle=Lancement d'une application externe

* MySampleResources_ja.properties
  # Generated for locale 'ja'
  #  
  TitleKey=\u6697\u53f7\u5316\u7ba1\u7406
  ParentTaskTitle=\u5916\u90e8\u30a2\u30d7\u30ea\u30b1\u30fc
  \u30b7\u30e7\u30f3\u306e\u8d77\u52d5

* MySampleResources_ko.properties
  # Generated for locale 'ko'
  #
  TitleKey=\uc554\ud638\ud654\uad00\ub9ac
  ParentTaskTitle=\uc678\uc7a5\ud615 \uc751\uc6a9 \ud504\ub85c
  \uadf8\ub7a8\uc2e4\ud589

* MySampleResources_zh_CN.properties
  # Generated for locale 'zh_CN'  
  #
  TitleKey=\u52a0\u5bc6\u7ba1\u7406
  ParentTaskTitle=\u5916\u90e8\u5e94\u7528\u7a0b\u5e8f\u542f\u52a8

* MySampleResources_zh_TW.properties
  # Generated for locale 'zh_TW'
  #
  TitleKey=\u52a0\u5bc6\u7ba1\u7406
  ParentTaskTitle=\u5916\u90e8\u61c9\u7528\u7a0b\u5f0f\u555f\u52d5
Related reference
External Application Launch Wizard panels