Remove `[:-len('�')]` from Unicode parsing of pdftk output in pdf-merge.py.
authorW. Trevor King <wking@drexel.edu>
Thu, 9 Feb 2012 11:54:34 +0000 (06:54 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 9 Feb 2012 11:59:08 +0000 (06:59 -0500)
commitabdbff46206cd1dd8a65dc3a5552a15d4a5b5382
tree87797810be9f1e0173f4d166de10c14867447e25
parent97048e59ee45cd7650414ef6ceb7d2709f29a145
Remove `[:-len('&#0;')]` from Unicode parsing of pdftk output in pdf-merge.py.

Thanks to Larry Cai <larry.caiyu@gmail.com> for pointing this out:

On Thu, Feb 09, 2012 at 03:25:09PM +0800, Larry Cai wrote:
> …
> When I just remove "[:-len('&#0;')]", it seem works!!
> …

I had thought that pdftk always appended a trailing null byte to
Unicode strings, but that appears to be incorrect.
posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py