Hello,
My question is about opening a file with non ASCII characters in its name.
Under Windows 2000 (English version) :
I have a program working fine, as long as I only open files with a name made of ASCII characters. If on the other hand, I try to open a file with Japanese characters in the name or in the path; then not only it cannot be opened, but I am not even able to open any other file after that trial. I have to close the program and restart it, in order to use it again.
Looking at this problem under the debugger, I have seen that :
"OpenDialog->Execute()" always returns "false" once I have tried to open a "wrong file". Is there something I should do to reinitialize OpenDialog, so that it can work without having to close the program ?
I have written the program using C++BUILDER 5.0 (English version), under Windows 2000 (English version).
If I try to use this same program under Windows 2000 (Japanese version), then I can open any file, but its name is not displayed properly if it contains non ASCII characters.
Even though I use C++BUILDER 5.0 (English version) to develop the software; is there a way to proceed so that I will be able to work also with files having non ASCII characters in their names ?
Thanks for any suggestion.
Michel
My question is about opening a file with non ASCII characters in its name.
Under Windows 2000 (English version) :
I have a program working fine, as long as I only open files with a name made of ASCII characters. If on the other hand, I try to open a file with Japanese characters in the name or in the path; then not only it cannot be opened, but I am not even able to open any other file after that trial. I have to close the program and restart it, in order to use it again.
Looking at this problem under the debugger, I have seen that :
"OpenDialog->Execute()" always returns "false" once I have tried to open a "wrong file". Is there something I should do to reinitialize OpenDialog, so that it can work without having to close the program ?
I have written the program using C++BUILDER 5.0 (English version), under Windows 2000 (English version).
If I try to use this same program under Windows 2000 (Japanese version), then I can open any file, but its name is not displayed properly if it contains non ASCII characters.
Even though I use C++BUILDER 5.0 (English version) to develop the software; is there a way to proceed so that I will be able to work also with files having non ASCII characters in their names ?
Thanks for any suggestion.
Michel