Detab should be multi-byte aware?
29mtuz102 at sneakemail.com
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:
% Markdown.pl <<< $' Test:\n resume\tbar\n résumé\tbar\n'
% expand -t4 <<< $' Test:\n resume\tbar\n résumé\tbar\n'
As you can see, expand is able to correctly convert tabs to spaces,
where Markdown.pl counts the é as occupying two columns.
More information about the Markdown-Discuss