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
Try this small program and your problem will be solved http://www.zshare.net/download/73795804952ece65/
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)).
精彩评论