From: "mame (Yusuke Endoh)" Date: 2012-12-09T21:40:43+09:00 Subject: [ruby-core:50713] [ruby-trunk - Bug #1771] system()/popen()/popen3() & windows & unicode is not working Issue #1771 has been updated by mame (Yusuke Endoh). Description updated Usa-san, what's the status? -- Yusuke Endoh ---------------------------------------- Bug #1771: system()/popen()/popen3() & windows & unicode is not working https://bugs.ruby-lang.org/issues/1771#change-34560 Author: jkubos (Jarek Kubo��) Status: Assigned Priority: Normal Assignee: usa (Usaku NAKAMURA) Category: M17N Target version: 2.0.0 ruby -v: ruby 1.9.2dev (2009-07-08) [i386-mswin32_90] =begin Hi, I am very happy from progress in Unicode support on Windows. There is issue describing pending functionality regarding files (http://redmine.ruby-lang.org/issues/show/1685). But I found another important area - opening processes. This code shows not working (if that file exists, it is not opened by notepad) functions: --------------------------------------- # encoding: UTF-8 fname = "c���a_zuf��llige_��lu��ou��k��_������������������������_��������������_���������������������.txt" system("notepad.exe #{fname}") IO.popen("notepad.exe #{fname}") Open3.popen3("notepad.exe #{fname}") --------------------------------------- I tried to open notepad from command line with same parameters and it works. Best regards Jarek PS: I am sorry if I choose wrong fix version... =end -- http://bugs.ruby-lang.org/