Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是其中一件看起来应该很容易的事情,但我被困住了......
我需要打开一个以 SHIFT_JIS 编码存储的 CSV 文件并将其解码为 Unicode 并以 UTF-8 编码。听起来这在 ruby 1.9 中非常简单,但我对我的生产 Rails 应用程序并没有特别的冒险精神,所以我需要坚持使用 1.8.7。
任何帮助,将不胜感激。