Issue #6650 has been updated by luislavena (Luis Lavena).

Status changed from Closed to Feedback

suke,

Can you tell us a bit more about WIN32OLE.locale and WIN32OLE.codepage prior running the tests? what is the default locale (chcp)?

These test fail with WIN32OLE.codepage 1252 and 65001, so I'm wondering why they are not in your case.
----------------------------------------
Bug #6650: Fixing win32ole test errors
https://bugs.ruby-lang.org/issues/6650#change-27555

Author: bosko (Boko Ivanievi)
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/