system()/popen()/popen3() & windows & unicode is not working
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"
I tried to open notepad from command line with same parameters and it works.
PS: I am sorry if I choose wrong fix version...
Updated by nobu (Nobuyoshi Nakada) about 7 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r41709.
Jarek, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
win32: UTF-8 spawn
- io.c (spawnv, spawn): use UTF-8 spawn family. [Bug #1771]
- process.c (proc_exec_sh, proc_spawn_cmd, proc_spawn_sh): ditto.