Print this page

Use UTF-8 Encoding to Deploy Components Whose File Names Contain Multibyte Characters

Knowledge Article Number 000230031
Description UTF-8 encoding is required to deploy components whose file names contain multibyte characters. If UTF-8 is not the default encoding used in your Java environment for Metadata API or deployment tools, the deployment might fail. To ensure a successful deployment of these components, ensure that the UTF-8 encoding is used.
Resolution Depending on the tool you're using, specify the UTF-8 encoding by following one of these steps.
For Migration Tool:
Add -Dfile.encoding=UTF-8 to your ANT_OPTS environment variable. 
For IDE:
Add the following line to eclipse.ini: -Dfile.encoding=UTF-8, and then restart Eclipse for this setting to take effect.

promote demote