- 
    Bug 
- 
    Resolution: Fixed
- 
     P1 P1
- 
    1.1
- 
        1.1fcs
- 
        generic
- 
        generic
- 
        Not verified
                    masayoshi.okutsu@Eng 1996-12-19
FileDialog.setDirectory() doesn't work with a directory name in Han
characters on Japanese Solaris and Japanese Win95.
You can reproduce the bug with the following program.
import java.awt.*;
public class fd {
public static void main(String args[]) {
Frame g = new Frame("");
FileDialog f = new FileDialog(g, "\u732b", FileDialog.LOAD);
f.setDirectory("\u732b");
f.pack();
f.show();
f.dispose();
}
}
and suppose the current directory contains "\u732b" directory.
If you run this code, it beeps twice, and FileDialog can't set its
directory to "\u732b".
            
FileDialog.setDirectory() doesn't work with a directory name in Han
characters on Japanese Solaris and Japanese Win95.
You can reproduce the bug with the following program.
import java.awt.*;
public class fd {
public static void main(String args[]) {
Frame g = new Frame("");
FileDialog f = new FileDialog(g, "\u732b", FileDialog.LOAD);
f.setDirectory("\u732b");
f.pack();
f.show();
f.dispose();
}
}
and suppose the current directory contains "\u732b" directory.
If you run this code, it beeps twice, and FileDialog can't set its
directory to "\u732b".