I want to write (by Print) a binary string 'strin' to a binary file filenam, but filenam is a name containing unicode characters (i.e. 'filenam' is a unicode-encoded string).
Code: Select all
Open filenam For Binary As #1
Print #1, strin
doesn't work: Print writes correctly, but the name of the created file is not correct.
How this could be done correctly?