Blogs

About this blog

Welcome to the Business Service Management Blog, where you can read the perspectives from BSM experts. This Blog provides insights into the BSM solution, as well as technical details about specific IBM products.

Recent tweets

Encoding converting script for Netcool/Impact 5.1.0 upgrading

There is an encoding enhancement in Impact 5.1.1. Impact uses UTF8 as a default encoding to handle policies. So Impact 5.1.1 and newer release could read, write and display special character correctly, such as accent, either in file system or GUI pages without setting a specific locale/encoding.

However, customer need set correct locale to display them normally in Impact 5.1.0 and older release if policy having special characters, otherwise garbled characters will display. Customer set correct locale naturally by most chances.

If you found several policies could not be imported into Impact 5.1.1/6.x from an Impact 5.1.0 export package. There is a MalformedInputException in ByteToCharUTF8.convert and then a FileNotFoundException throws. Details see following error messages in Impact product log file. Please use attached script to solve this import issue.

Now, let’s see what we need to do for this issue. Encoding converting is a suitable way to solve it.

The coded character set used in former Impact 5.1.0 is the key for the converting. So I write out a script to convert encoding to UTF8 which has only one parameter - original coded character set.