Why does ICE03 state my localized template string is invalid?

Why does ICE03 state my localized template string is invalid?

  • Comments 5


When I run ICE validation, why does ICE03 state the following error?

ICE03 ERROR Invalid template string; Table: Error, Column: Message, Key(s): 1958

The string reads,

ユーザー [2] の特権が不十分です。必要な特権をユーザーに付与してインストールを続行しますか? [いいえ] を選択するとインストールは終了します。


This ICE error can appear in several columns in several tables that use the Formatted column type or a derivative, like the Template column type used by the Message column of the Error table shown above. Formatted column types allow properties to be inserted between square brackets while the Template column type additionally allows field numbers to be inserted between square brackets. But because properties are of the Identifier column type which allows only alphanumeric ASCII characters, the period (.), and underscores (_), unsupported characters cannot appear between square brackets in a Formatted column type or its derivative.

Take a closer look at the highlighted substring below,

ユーザー [2] の特権が不十分です。必要な特権をユーザーに付与してインストールを続行しますか? [いいえ] を選択するとインストールは終了します。

Since that is not a valid property identifier, ICE03 pumps an error message to the validation message handler because it knows from the _Validation table that the containing column is a Formatted column.

To resolve this issue, escape the square brackets using [\[] in place of [ and [\]] in place of ] as shown below.

ユーザー [2] の特権が不十分です。必要な特権をユーザーに付与してインストールを続行しますか? [\[]いいえ[\]] を選択するとインストールは終了します。

Leave a Comment
  • Please add 3 and 4 and type the answer here:
  • Post
  • If anyone is interested, the above text loosely translates to, "The user [2] does not have enough privileges.  Do you want to grant the user the required privileges and continue the installation?  Selecting No will terminate the installation."

  • Heath, I have no idea what those strings say because both Firefox and Opera browsers on XP boxes render them as complete garbage or as a repeated single character.

  • James, it looks fine in Firefox 3.0.6 on Windows 7 Beta. Since Vista all locales are installed that are supported by the platform along with supporting fonts. Could be a font issue I can check out.

  • Heath, I've been investigating and it's definitely a font issue, because the illegible characters are in the Unicode Katakana (Japanese) block.

    As displayed in Windows XP, at the end of your question you have "The string reads,"[NewLine]

    "???? [2] ??????????..."

    The first four ???? are Unicode 30E6 (Katakana YU, which looks lika a "1") followed by Unicode 30FC, 30B6 and 30FC then "[2]" then more Japanese.

    I can see no way of displaying it properly.

  • James, in XP, go to the languages control panel and install Japanese (or maybe it's just "Asian") support for Windows XP and they should display correctly.

Page 1 of 1 (5 items)