Bug #1771

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

Added by Jarek Kuboš over 2 years ago. Updated 10 months ago.

[ruby-core:24309]
Status:Assigned Start date:07/13/2009
Priority:Normal Due date:
Assignee:Usaku NAKAMURA % Done:

0%

Category:M17N
Target version:2.0.0
ruby -v:ruby 1.9.2dev (2009-07-08) [i386-mswin32_90]

Description

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...

Related issues

related to ruby-trunk - Feature #2255: unicode parameters cannot be passed to ruby Assigned 10/22/2009
related to ruby-trunk - Bug #1685: Some windows unicode path issues remain Assigned 06/24/2009
duplicated by ruby-trunk - Bug #3323: Spawning process on unicode path is not supported on windows Closed 05/20/2010

History

Updated by Yuki Sonoda over 2 years ago

  • Assignee set to Usaku NAKAMURA

Updated by Yuki Sonoda over 2 years ago

  • Target version changed from 1.9.2 to 2.0.0

Updated by Usaku NAKAMURA over 2 years ago

  • Status changed from Open to Assigned

Updated by Usaku NAKAMURA over 2 years ago

  • Priority changed from Normal to High

Updated by Usaku NAKAMURA over 1 year ago

  • Category changed from core to M17N
  • Priority changed from High to Normal

Also available in: Atom PDF