in reply to ActivePerl dies in msvcrt.dll under Windows
Without some example code, I would guess that the data you are feeding the parser does not have a valid UTF-8 signature. I am pretty sure it has nothing to do with the dll you are referring to. Instead it likely a bug not handled very gracefully in one of the routines in one of the modules you require. ( Again, no script, no ideas). Try using Encode to make sure you have the correct encoding on all your strings. Or, try removing all UTF-8 encodings. Did you try running your code in the debugger?