Help for this page

Select Code to Download


  1. or download this
    #define USING_WIDE() (0)
    
  2. or download this
    my $path = "some-path-in-japanese-CP932";
    
    ...
        unlink $tmpfile if !-s $tmpfile;
        # etc...
    }
    
  3. or download this
    use Encoding;
    
    ...
        unlink U2A($tmpfile) if !-s U2A($tmpfile);
        # etc...
    }
    
  4. or download this
    ...
    my $path = U2A("some-path-in-japanese-CP932");
    ...
        system(U2A("some_cmd \"other-filename-in-CP932\" ").$tmpfile);
        unlink $tmpfile if !-s $tmpfile;
    }