Detab should be multi-byte aware?

Allan Odgaard 29mtuz102 at
Mon Oct 9 19:43:38 EDT 2006

On 10. Oct 2006, at 00:52, Michel Fortin wrote:

> [...] From your description of the problem, I believe you're not

> using UTF-8.

No, here is an example showing the problem:

% <<< $' Test:\n resume\tbar\n résumé\tbar\n'
resume bar
résumé bar

% expand -t4 <<< $' Test:\n resume\tbar\n résumé\tbar\n'
resume bar
résumé bar

As you can see, expand is able to correctly convert tabs to spaces,
where counts the é as occupying two columns.

More information about the Markdown-Discuss mailing list