README in ya2yaml-0.26 vs README in ya2yaml-0.29.2
- old
+ new
@@ -6,10 +6,11 @@
== Usage
*code*:
- $KCODE = 'UTF8'
+ # encoding: UTF-8
+ $KCODE = 'UTF8' unless RUBY_VERSION >= '1.9'
require 'ya2yaml'
obj = [
"abc\nxyz\n",
"日本語\n文字列\n",