Hai,
Earlier we had an application that was implemented using VC 6.0 and ultragrid 2.0 and it was working fine. in that application we were displaying japanese text also and it was fine with VC 6.0 and ultragrid 2.0
But later the same application was upgraded to Visual studio 2008(with VC++) along with ultragrid 2.0, even it was also fine in most of the aspects, but after upgrading to VS 2008, for japanese text it is showing some junk like characters, it is a huge project, so it cannot be re-implemented from the scratch and we need to use only VC++(not any other language). so now the problem is to display japanese text in the ultragrid, what i have to do to achieve this. is there any more changes to settings or something else i need to do for VS 2008, please any body help me, as i badly require this.
and also i dont this is the correct forum to post or not, if not for which forum i need to post it?
thanks and regards,
palaksha
Thanks Elizabeth Albert for your reply,
Yes earlier when we first implemented the project, it was using _MBCS settings, with VC 6.0,
But later it is upgraded to VC 2008 with same _MBCS character set, there we got issue with japanese text display in the ultragrid,
And as per your suggestion i took old code of vc 6.0[which was fine for japanese] and converted it to Unicode support and then upgraded to VC 2008, even with that i am not able to display japanese text in Ultragrid. My doubt is is does Ultragrid 2.0 support VC++ 2008[As it is .net platform] or not?
then what i have to do for supporting jP text in grid.
And what about upgrading the version of NetAdvantage(ultragrid), does NetAdvantage and Ultragrid are same. does upgrading to NetAdvantage support VC 2008? please help me, as I am stupid on these things.
Hello palaksha,
There should not be any settings that you need to change in order to show Japanese characters in the UltraGrid.
It's possible that when you upgraded the solution to VS2008, the files were saved in a different encoding. I've run into that problem before where it shows 文字化け (junk characters), but it's usually because the file is incorrectly encoded. I use UTF8 encoding if possible.
Do you have a backup of the VC6.0 project? If so, could you check that the files are encoded in Unicode? After that, look at the upgraded project and see if the same files have their encoding changed. If the files were not Unicode in the VC6.0 project, please try to encode them as Unicode, and then upgrade the project (back up your project before upgrading).
Also, were you upgrading the version of NetAdvantage (ultragrid)? If so, what version were you upgrading to? I would recommend using the latest Version Utility, which is available on our website as a free download.
Elizabeth AlbertLocalization Engineer