From: Robert Klemme Date: 2009-09-21T22:59:44+09:00 Subject: Re: How to create a file with UTF-8 encoding 2009/9/21 Jin Lee : > Robert Klemme wrote: >>> There is an error message: illegal access mode w:UTF-8 (ArgumentError) >> >> You did not mention your Ruby version.  I do not see your error: >> >> ======================================== >> ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-cygwin] >> 15:04:15 tmp$ >> >> Cheers >> >> robert > > Thanks Robert, the version of mine is 1.8.6 (2007-09-24 patchlevel 111) > > It seems that this encoding option is only supported in 1.9? Correct. See also http://blog.grayproductions.net/articles/miscellaneous_m17n_details Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/