Le 9 oct. 2006 à 17:02, Allan Odgaard a écrit :

As for #2, Markdown doesn’t know the encoding of the source document, so that would mean it can’t really be aware of things such as UTF-8 mb sequences, OTOH if it changes my pre-formatted text, I would like to have it do the right thing.

Currently, Markdown.pl and my own PHP implementation of Markdown both support any superset of ASCII; that includes UTF-8. UTF-8 multi-byte sequences have the interesting property of being entirely composed of bytes above 127, over ASCII range. So while Markdown isn't really "aware" of these multi-byte sequences in the sense that it treats them as one character, it isn't changing them into anything either.

From your description of the problem, I believe you're not using UTF-8.


Michel Fortin
[EMAIL PROTECTED]
http://www.michelf.com/


_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to