Question marks unexpectedly appear instead of localized characters when you use the Microsoft Visual Studio (907291)
The information in this article applies to:
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
SYMPTOMSWhen you use the Microsoft Visual Studio external ATL/MFC
Trace Tool, question marks ("?") unexpectedly appear instead of localized characters.CAUSEThis problem occurs because the ATL/MFC Trace Tool does not support Unicode characters. When the default
Microsoft operating system ANSI codepage does not match the codepage that is required
for the ATL/MFC Trace Tool, Unicode characters appear as question marks
("?").WORKAROUNDTo work around this problem, install the AppLocale
utility. Then, use the AppLocate utility to configure the ATL/MFC Trace Tool. The following
file is available for download from the Microsoft Download Center: Download the Apploc.msi package now.
Release Date: June 14, 2004
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
To install the AppLocale utility, follow these steps:
- In the folder where you downloaded the AppLocale utility installation file, double-click Apploc.msi to start the
AppLocale Installation Wizard.
- Follow the instructions on the screen to complete the
installation.
To configure the ATL/MFC Trace Tool, use one of the
following methods. Method 1: Use the AppLocale interfaceDirectly configure the ATL/MFC Trace Tool by using the AppLocale interface. To do this, follow these steps:
- Examine the default configuration of the ATL/MFC Trace Tool. To do this, follow these steps:
- Start Microsoft Visual Studio.
- On the Tools menu, click External Tools.
- Click ATL/MFC &Trace Tool.
- Make a note of the contents of the Command box and the Arguments box.
- Click Start, point to All
Programs, point to Microsoft AppLocale, and then click AppLocale.
- Click Next.
- On the Locate The Application page, click Launch an application.
- Click Browse to locate the ATL/MFC Trace Tool executable file, and then click OK.
- In the Arguments box, specify the arguments that you noted in step 1d, and then click Next.
- Follow the instructions on the screen to complete the wizard.
Method 2: Configure Visual StudioConfigure Visual Studio to use the AppLocale utility. To do
this, follow these steps:
- Start Visual Studio.
- On the Tools menu, click External Tools.
- In the External Tools dialog box, click Add.
- In the Command box, type %SystemRoot%\AppPatch\apploc.exe.
- In the Arguments box, type the ATL/MFC Trace Tools executable path, file name, and any required arguments. To find this information, examine the default ATL/MFC Trace Tool configuration. Separate the path and the arguments by using a blank space, and separately enclose both the path and the arguments in quotation marks.
- In the Initial Directory box, type $(TargetDir), and then click OK.
STATUS This behavior is
by design.
Modification Type: | Major | Last Reviewed: | 2/27/2006 |
---|
Keywords: | kbtshoot kbLocalization kbnofix ATdownload kbprb KB907291 kbAudDeveloper |
---|
|