From: nobu@... Date: 2006-08-19T11:14:40+09:00 Subject: Re: `cmd` and UTF-8 Hi, At Sat, 19 Aug 2006 04:04:03 +0900, Antonio Mat wrote in [ruby-talk:209287]: > I can't use Iconv because the script should work with any locale. Then what encoding does your target program use? If it is affected by environment locale, it may use utf-8 by setting ENV["LC_ALL"] etc. -- Nobu Nakada