DBCS characters appear garbled when you run some PowerShell scripts in EMS in an Exchange Server 2013 environment

Symptoms

Assume that Microsoft Exchange Server 2013 is installed on a computer that is configured to use a display language that uses Double-Byte Character Set (DBCS) characters, such as Japanese. Then, you run one of the following scripts in Exchange Management Shell (EMS):

  • Disable-AntimalwareScanning.ps1

  • Enable-AntimalwareScanning.ps1

  • FilterringConfigurationCommands.ps1

  • StoreTSLibrary.ps1

  • Update-MalwareFilteringServer.ps1

In this situation, the DBCS characters appear garbled. More specifically, the characters resemble the following:

�}���E�F�A�΍�G���W����X�V���ł��B����ɂ͐���������܂��B
DateTime ��ɍX�V���ꂽ�G���W����m�F���Ă��܂��B
Microsoft ��X�V���Ă��܂��B�ŏI�X�V: 1900/01/01 9:00:00

Cause

This issue occurs because the *.strings.psd1 files that correspond to the scripts use the American National Standards Institute (ANSI) format instead of the 16-bit Unicode Transformation Format (UTF-16).

Resolution

To resolve this issue, install the following cumulative update:

2892464 Description of Cumulative Update 3 for Exchange Server 2013

Workaround

To work around this issue, save the *.strings.psd1 files in the UTF-16 format in the language specific subfolders in the Scripts folder.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about the ANSI format and the Unicode format, go to the following Microsoft website:

General information about ANSI, DBCS, and Unicode

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×