If a field ends with a diacritic mark, followed by a change of character code set (such as changing from chinese to default roman character set) the previous algorithm would get an Array out of bounds exception.  This check-in detects this situation, prevents getting an exception, and is error logging is enabled, flags the error.
If a field ends with a diacritic mark, followed by a change of character code set (such as changing from chinese to default roman character set) the previous algorithm would get an Array out of bounds exception.  This check-in detects this situation, prevents getting an exception, and is error logging is enabled, flags the error.

Submitted by:  Robert Haschart
Reviewed by:   Robert Haschart

travisbrown/marc4j-old