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 |
Be the first one to answer this question!
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.