Ok I think I understand now what you mean. I don't think anything is being truncated, I think the length of the input field is the issue. It was limited to 10000 characters.
I've now raised it to pow(2, 31) - 1 (~2GB) -- I've uploaded the change for you, hopefully that solves it.
It's the default value field for adding fields to a catalogue. Hmm... 10,000 characters doesn't seem right. My value was truncated at 255 characters I think. But hopefully your tweak will still work.
I've now raised it to pow(2, 31) - 1 (~2GB) -- I've uploaded the change for you, hopefully that solves it.