# Run WIN32OLE.codepage= in ruby 1.8.2

**URL:** <https://www.ruby-forum.com/t/run-win32ole-codepage-in-ruby-1-8-2/128395>\
**Category:** Ruby\
**Created:** [February 7, 2008, 10:44am UTC](https://www.ruby-forum.com/t/run-win32ole-codepage-in-ruby-1-8-2/128395 "2008-02-07T10:44:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![idanmiller](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@idanmiller](https://www.ruby-forum.com/u/idanmiller)\
**Post date:** [February 7, 2008, 10:44am UTC](https://www.ruby-forum.com/t/run-win32ole-codepage-in-ruby-1-8-2/128395/1 "2008-02-07T10:44:18Z")

</div>

Hi everyone,

I’m trying to run WIN32OLE.codepage= in ruby 1.8.2 but get a method not  
found error. How should I access the same functionality in ruby 1.8.2?

Since I’m using watir and wish to use the modal\_dialog method, I can  
only work with ruby 1.8.2 (see  
[http://forums.openqa.org/thread.jspa?messageID=17202](http://forums.openqa.org/thread.jspa?messageID=17202)).  
I also need UTF8 in WIN32OLE so it’s vital for me to call that method  
somehow.

Thanks,  
Idan.
