Interstage Shunsaku Data Manager Troubleshooting - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Chapter 2 Examples of Troubleshooting> 2.2 Development Errors

2.2.2 Search Errors

mark1Errors displaying characters in search results

Error Event

After a search using Shunsaku Java API, characters are not displayed correctly in a browser. For example, the character registered as "" is displayed as "!".

Error Confirmation

An error is considered as a character display error in search results if such characters as the following cannot be displayed correctly:

Cause

The character code of an XML document imported to Shunsaku is UTF-8 and the CharacterCode parameter in the system environment file is set as EUC.

The Shunsaku Java API uses the character code conversion function provided in Java to convert character code from UTF-8 to EUC. However, this function cannot convert all the UTF-8 characters to EUC characters. Therefore, some specific characters cannot be imported to Shunsaku correctly and the search result will be output incorrectly.

How to avoid the error

Use the same character code for the XML document stored in Shunsaku and the CharacterCode parameter specified in environment file. UTF-8 is recommended.

Corrective Action

None.


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2006