The BlackBerry® WebWorks™ Packager displays a compilation error if the config.xml file contains characters that fall outside of the UTF-8 character set. This issue typically occurs for developers who wish to display a localized name under the application icon on the home screen.
The BlackBerry WebWorks packager supports UTF-8 encoding within the config.xml document.
Ensure that all content saved within the config.xml is encoded using the UTF-8 character set.
If a developer wishes to set the home screen application name to contain non UTF-8 characters, they can accomplish this by using the background page feature of the BlackBerry WebWorks App platform.
Using this technique, an application can call blackberry.app.setHomeScreenName() to change the name of the home screen icon to a different value than what was specified in the config.xml file such as non UTF-8 characters.
The sample project attached to this article demonstrates how to use a background page to change the application icon name when the application is first installed and/or started.