[kramdown-users] using kramdown in xhtml

Shawn Van Ittersum svicalifornia at gmail.com
Thu Jun 10 16:20:05 EDT 2010


OK. :)

Shawn

On Thu, 10 Jun 2010 13:17:11 -0700, Matt Neuburg wrote:
> 
> 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.
> 
> _______________________________________________
> kramdown-users mailing list
> kramdown-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/kramdown-users


More information about the kramdown-users mailing list