Project

General

Profile

Bug #1771

system()/popen()/popen3() & windows & unicode is not working

Added by jkubos (Jarek Kuboš) about 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2009-07-08) [i386-mswin32_90]
Backport:
[ruby-core:24309]

Description

=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


Related issues

Related to Ruby master - Feature #2255: unicode parameters cannot be passed to rubyClosedcruby-windowsActions
Related to Ruby master - Bug #1685: Some windows unicode path issues remainClosedusa (Usaku NAKAMURA)06/24/2009Actions
Has duplicate Ruby master - Bug #3323: Spawning process on unicode path is not supported on windowsClosedusa (Usaku NAKAMURA)05/20/2010Actions

Also available in: Atom PDF