Detab should be multi-byte aware?
gruber at fedora.net
Mon Oct 9 20:34:48 EDT 2006
Michel Fortin <michel.fortin at michelf.com> wrote on 10/9/06 at
> If anyone is interested in a fix for PHP Markdown, just change
> the call to the `strlen` function within detab to a call to
> `mb_strlen($line, 'utf-8')`. I'll fix this for the next
Will that still work if people pass in Windows Latin 1 or Mac
Roman-encoded text? Yes, I'm too lazy to try it...
More information about the Markdown-Discuss