Thanks for your bug report. Yes, I can confirm that $breplace() just ignores the last odd character. As it has always behaved this way, changing it now could break scripts, so I would rather leave it the way it is.