I need to register the file association for a certain file type - in fact, I just need to launch a certain Java program with certain arguments and a name of that file.

I got as far as the following:

```
// in fff-assoc.cmd file:
assoc .fff=SomeFile
ftype SomeFile=java -jar some.jar <arguments1> "%%1" <arguments2>

```

It works properly for ASCII file names. But when I try to double-click some file with non-ASCII symbols in name, the argument passed looks like "????" (int value of each char = 63).

How can I fix those associations?