Hitachi

JP1 Version 12 JP1/Base User's Guide


3.4.3 Notes on running JP1 in a Chinese (Simplified) language environment

Organization of this subsection

(1) Restrictions on GB18030 encoding

Chinese encoding supports GB18030-2000. The specifiable GB18030 encoding range differs according to the JP1/Base entry item.

No.

Entry item

GB18030 encoding range

1-byte

(ASCII)

2-byte

(GBK)

4-byte

(Unicode)

1

Host name (physical host name, logical host name)

OK

--

--

2

Operating system account (domain name, user name)

OK

--

--

3

File pass

OK

--

--#1

4

Command line

OK

--

--#1

5

Definition name and value of common definition information

OK

--

--

6

Definition file description#2

OK

OK

OK

7

Monitoring target log content

OK

OK

OK

8

JP1 event attribute (message, extension attribute)

OK

OK

OK

Legend:

OK: The encoding is supported.

--: The encoding us not supported.

#1: If 4-byte encoding (Unicode) is specified, the characters are replaced with half-width questions marks (?).

#2: The encoding range for the file path and command line described in the definition file is the same as the encoding range for entry items No.3 and No.4.

(2) Restrictions on Unicode

Only the range for the Basic Multilingual Plane is guaranteed for the encoding contained in Unicode(4-byte GB18030 and UTF-8) character strings.

If Unicode (4-byte GB18030 and UTF-8) character strings contain surrogate pairs, sometimes regular expressions might not produce the intended results.

(3) Notes on function specifications

(a) Event service

Regular expressions for the event filter

In Windows, extended regular expressions are applied. Use the syntax for the extended regular expressions.

In UNIX, the specified definitions for regular expressions are applied.

Registering JP1 events
  • JP1 events are registered in UTF-8 encoding. "UTF-8" is specified for the basic attribute code set.

  • There is a limit on the length of basic attribute messages (1023 bytes). If the message length exceeds the limit when it is converted to UTF-8 encoding, the excess portion is discarded. In this case, the KAJP1082-W message is output to the log.

jevexport command
  • You can specify "GB18030" as the code set name specified for the -l option.

  • If you specify "GB18030" for the -l option and then specify the -a option, English is output to the title line.

(b) Log file trap

Log files output in Chinese (Simplified) can be monitored in the same manner as for the existing functionality.

Regular expressions for the action definition file

In Windows, extended regular expressions are applied. Use the syntax for the extended regular expressions.

In UNIX, the specified definitions for regular expressions are applied.

Registering JP1 events

JP1 events are registered in UTF-8 encoding. "UTF-8" is specified for the basic attribute code set.

(c) Event log trap (Windows only)

Unicode-based monitoring can be performed in a Chinese (Simplified) language environment.

Regular expressions for the action definition file

Extended regular expressions are applied. Use the syntax for the extended regular expressions.

Registering JP1 events

JP1 events are registered in UTF-8 encoding. "UTF-8" is specified for the basic attribute code set.

(d) Local action

Regular expressions for the execution definition file

In Windows, extended regular expressions are applied. Use the syntax for the extended regular expressions.

In UNIX, the specified definitions for regular expressions are applied.