Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Data exported to a CSV file is formatted incorrectly in Excel on a computer that is running a localized non-Latin character based language version of Windows Server 2008


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You export data from a snap-in in a localized version of Windows Server 2008 to create a Comma-Separated Values (CSV) file.
  • The localized version of Windows Server 2008 is a non-Latin character based language version.
  • You open the file in a spreadsheet program such as Microsoft Excel.
In this scenario, the data is formatted incorrectly. Additionally, the characters are not displayed correctly.

↑ Back to the top


Cause

This problem occurs if you do not save the CSV file in Unicode format when you export the data.

↑ Back to the top


Workaround

To resolve this issue, save the CSV file in Unicode format. To do this, follow these steps:
  1. Open the CSV file in Notepad.
  2. On the File menu, click Save As.
  3. In the Save As dialog box, click Unicode in the Encoding list.
  4. Click Save.

↑ Back to the top


More information

When you export data from a snap-in in Windows Server 2008, you can create a CSV file in the following ways:
  • Export a list of cached users from a read-only domain controller (RODC) that is running Windows Server 2008.
  • Save event logs in a CSV file.
  • Export the contents of an organizational unit (OU).

↑ Back to the top


References

Steps to reproduce the problem

  1. On a writable domain controller that is running Windows Server 2008, open the Active Directory Users and Computers snap-in. To do this, click Start, click Run, type dsa.msc, and then click OK.
  2. In the Active Directory Users and Computers box, expand the Domain Controllers container, and then right-click Computer Account for an RODC.
  3. On the Password Replication Policy tab, click Advanced.
  4. In the Advanced Password Replication Policy dialog box, click the Policy Usage tab, and then click Export.
  5. Save the file as a CSV file.
  6. Open the saved file in Excel.

↑ Back to the top


Keywords: kbfix, kbbug, kbexpertiseadvanced, kbtshoot, KB954406

↑ Back to the top

Article Info
Article ID : 954406
Revision : 1
Created on : 7/4/2008
Published on : 7/4/2008
Exists online : False
Views : 242