<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>alice (jackson)</title>
    <link>https://ruby-china.org/alice</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Capistrano 3 部署 字符 报错？</title>
      <description>&lt;p&gt;capistrano 3 部署的时候创建共享目录 make -pv /opt/xxx/shared，应该会输出一段提示信息例如 创建 xxx 目录成功，结果出现 Encoding::UndefinedConversionError: "\xE5" from ASCII-8BIT to UTF-8，也就是说中文提示符从 ASCII-8BIT 到 utf-8 转码出错...出错位置位于 sshkit-1.3.0/lib/sshkit/formatters/pretty.rb 中的
original_output &amp;lt;&amp;lt; level(Logger::DEBUG) + uuid(command) + c.green("\t" + line)&lt;/p&gt;

&lt;p&gt;ruby 版本 2.0&lt;/p&gt;

&lt;p&gt;大家遇到过这个问题吗？到底是需要在 cap 里面设置字符还是 ssh 远程回显的字符类型不对？&lt;/p&gt;</description>
      <author>alice</author>
      <pubDate>Sun, 25 May 2014 18:59:18 +0800</pubDate>
      <link>https://ruby-china.org/topics/19525</link>
      <guid>https://ruby-china.org/topics/19525</guid>
    </item>
  </channel>
</rss>
