FileUtils's cp_r and rm_r bugs out with directory containing non ascii 
characters
---------------------------------------------------------------------------------

                 Key: JRUBY-4983
                 URL: http://jira.codehaus.org/browse/JRUBY-4983
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.5.1
         Environment: Linux marvin 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 
09:22:14 UTC 2010 i686 GNU/Linux

$ env | grep LANG
LANG=en_IN
GDM_LANG=en_IN

jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 f3a3480) (OpenJDK Client VM 
1.6.0_18) [i386-java]

            Reporter: kristian meier
            Assignee: Thomas E Enebo
         Attachments: copy_umlaute.tar.gz

see attached files. 

test_no_problem.rb works just fine. with test.rb jruby has following problems:

FileUtils.rm_rf just silently does not it job when a subdirectory name contains 
a non ascii character.

FileUtils.cp_r creates the subdirectory but is not able ti decent into it to 
copy the remaining files - even it the directory is empty.

executing the test with -Ku or commenting out the KCODE did not change the 
overall behavior. with MRI anything just works as expected with KCODE and/or 
-Ku flag for the ruby command.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to