fixed ProbeAndCaptureUnicodeString to properly capture unicode strings