Sengottuvelu's question was:

Hi Michal,

we have visual basic 6.0 code. The code comments and code are all in japanese characters. we dont have japanese version of VB 6.0,so the japanese characters are all showing junk characters.

i like to know is there is any possible to view japanese characters without japanese version VB 6.0.if so how its possible .

Reply me

Thanks and Regards

First and foremost there is the problem that VB6's IDE does not support Unicode, so your default system code page is really controlling how much you can seed. Changing your default system locale to Japanese and rebooting, or alternately using (the previously discussed) AppLocale, is the way to take care of the biggest problem.

From there you will likely find some sporadic problems with font selections that you may have to change sometimes to see the text.

But that should make the Japanese comments available to look at.

Now actually running the application can run into a whole bunch of other problems that might be worthy of a post at some point.

Come to think of it, just like that Converting an Application to Unicode series, if I had an application that I could take through the whole process as a sample, it might actually be a lot of fun to do (not specifically for VB 6.0 of course, I mean for any sort of application!). Though I suspect it might prove even harder to do find such a project then it was for the Unicode conversion....

 

This post brought to you by áž˛ (U+17b2, a.k.a. KHMER INDEPENDENT VOWEL QOO TYPE TWO)