[kramdown-users] using kramdown in xhtml

Matt Neuburg matt at tidbits.com
Thu Jun 10 16:17:11 EDT 2010

On Jun 10, 2010, at 12:29 PM, Shawn Van Ittersum wrote:

> TextMate's handling of text allows you to save UTF data, but Ruby 1.8 is not aware of UTF or any other encodings.  Ruby 1.8 can still use the data, but as strings of bytes, not UTF characters.  Operations on UTF strings may return strange results because Ruby 1.8 doesn't know how to handle UTF properly.  See this for more info:
> http://blog.grayproductions.net/articles/bytes_and_characters_in_ruby_18
> Shawn

Sure, but if you already know the encoding there's no problem. Believe me, I've written LOTS of code that manipulates / generates UTF-8 files in Ruby 1.8. I know plenty about this. m.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/kramdown-users/attachments/20100610/856f642d/attachment.html>

More information about the kramdown-users mailing list