Link to home
Start Free TrialLog in
Avatar of gmike
gmike

asked on

How do I open a file that has Japanese characters in the filename

Hello,

I have an application running on English and Japanese OS. When it comes to the Japanese version, I cannot open a file, using a filename from the Microsoft CommonDialog control, I get a Bad Filename error code.

Here is the code I am using

Dim f$

CommonDialog1.ShowSave
   
f$ = CommonDialog1.filename

iunit = freefile
Open f$ for Output as #iunit

I am using VB5

Any help greatly appreciated,
Mike
Avatar of Brownhead
Brownhead

Could you upload an example of the chinese characters to a webhost (http://uppit.com/) so we can have an example for testing... because I've never seen Japenese file names before
ASKER CERTIFIED SOLUTION
Avatar of burningmace
burningmace
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial