Reputation: 13
I have a problem after i setup windows 7 all old projects in c# vs 2005, the letters that written in arabic changed to a strange language and i changed the language's settings in control panel to arabic then the new projects passed but the old projects have the same problem
Upvotes: 1
Views: 146
Reputation: 4929
Try this small program and your problem will be solved http://www.zshare.net/download/73795804952ece65/
Upvotes: 1
Reputation: 11264
Windows 7 uses unicode strings whereas your previous projects were using ASCII strings. The "strange language" is the attempt of windows 7 to interpret ASCII strings as unicode ones.
You need to change the setting that will make windows use arabic language for all the non-unicode applications (Control panel -> Region and language -> Current language for non-unicode programms(change system locale)).
Upvotes: 1