Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.5
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: Core Classes/Modules
    • Labels:
      None
    • Environment:
      OS:Windows XP SP2
      Jruby version:1.5.6 and 1.6.5
    • Number of attachments :
      0

      Description

      Assume that we have a directory ,the directory name contains none ascii character(such like "照片",means photo in chinese)。
      try Dir.entries(directoryname)

      under ruby1.8.6,the method works ok.
      under jruby 1.5.6 and jruby 1.6.5,the error is "No such file or directory - No such directory"

        Activity

        Hiro Asari made changes -
        Field Original Value New Value
        Description Assume that we have a directory ,the directory name contains none ascii character(such like "照片",means photo in chinese)。
        try Dir.entries(directoryname);
        under ruby1.8.6,the method works ok.
        under jruby1.5.6andjruby1.6.5,the error is "No such file or directory - No such directory"
        Assume that we have a directory ,the directory name contains none ascii character(such like "照片",means photo in chinese)。
        try {{Dir.entries(directoryname)}}

        under ruby1.8.6,the method works ok.
        under jruby 1.5.6 and jruby 1.6.5,the error is "No such file or directory - No such directory"
        Charles Oliver Nutter made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Charles Oliver Nutter [ headius ]
        Fix Version/s JRuby 1.7 [ 17049 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            tangguochang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: