Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to avoid Unmappable Character Exception when logging change set comment with special characters?

Jazzers,

I have brought together
java.util.logging.Logger Log = Logger.getLogger(MyClass.class.getName());
with
IChangeSet changeSet;
by means of:
String comment = changeSet.getComment();
Log.info (comment);
only to be greeted with java.nio.charset.UnmappableCharacterException once the change set comment contains e.g. ä ö ü ß and the like. This holds true for RTC 4.0.5 and 4.0.6
I understand that this can be mitigated by introducing Resource Bundle. Or avoid java.util.logging and go with log4j? Does anybody have any details how exactly to solve the issue of logging special characters in change set comments?

Thanks for sharing any ideas and pointers.
- Arne

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 8
× 2

Question asked: Apr 11 '14, 4:38 p.m.

Question was seen: 5,266 times

Last updated: Apr 11 '14, 4:38 p.m.

Confirmation Cancel Confirm