Hi, > [...] so I quickly wrote some (wrong) instrumentation to try to test your > patch.
Yep, it confused me too at first. Since the encoding happens right before exit() call, maybe it's worth changing $b in-place in order to make the code slightly more readable for most of us :) -- Best regards, Aleksander Alekseev