From: "h.shirosaki (Hiroshi Shirosaki)" Date: 2012-06-29T21:39:11+09:00 Subject: [ruby-core:45952] [ruby-trunk - Bug #6650] Fixing win32ole test errors Issue #6650 has been updated by h.shirosaki (Hiroshi Shirosaki). File 0001-Use-UTF-16-String-instead-of-UTF-8.patch added I had same failure on Win7 with chcp 932(default), 1252 and 65001. I guess it depends on Windows system default encoding. If I change the string from UTF-8 to UTF-16LE, the test works fine for me. UTF-16LE or ASCII String might be better. I attached the patch. ---------------------------------------- Bug #6650: Fixing win32ole test errors https://bugs.ruby-lang.org/issues/6650#change-27560 Author: bosko (Bo��ko Ivani��evi��) Status: Feedback Priority: Normal Assignee: luislavena (Luis Lavena) Category: test Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-06-25 trunk 36180) [i386-mingw32] Since FileSystemObject is limited only to ANSI and UTF-16LE encoding tests shouldn't try to use other encodings since they will certainly fail. Instead UTF-16 encoding should be used to check whether writing/reading to/from FSO is properly handled. Attached is a patch that fixes this. -- http://bugs.ruby-lang.org/