Created
January 14, 2009 21:43
-
-
Save kjell/47102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(rdb:1) irb | |
>> atts | |
=> {:description=>"TerRoc™ 330 by Inov-8 at Zeta Zappos"} | |
>> atts.to_yaml | |
=> "--- \n:description: "TerRoc\\xE2\\x84\\xA2 330 by Inov-8 at Zeta Zappos"\n" | |
>> | |
$KCODE = 'u' is set. Generally, fancy UTF–whatever characters are behaving. | |
But soon as I convert to yaml, they all get messed up and turned to octal. | |
It's infuriating! And I can't seem to fix it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment