Added handling for encoding subjectPrefix

This is a fix for issue #340