A third idea (not sure if it applies here either):
Might there be a Unicode vs ANSI issue (i.e. do you maybe pass an UTF8 string somewhere that is supposed to be an ANSI string which typically messes up character counts and results in strange errors?)
A third idea (not sure if it applies here either):
Might there be a Unicode vs ANSI issue (i.e. do you maybe pass an UTF8 string somewhere that is supposed to be an ANSI string which typically messes up character counts and results in strange errors?)