KBEA-00101 - Using the ECLOUD_ICONV_LOCALE environment variable

Article ID:360032826452
1 minute readKnowledge base
On this page

Summary

The ECLOUD_ICONV_LOCALE environment variable allows you to set the iconv locale.

If you receive an emake assertion failure that contains information similar to:

    emake: ../util/StringUtilities.h:406: std::string to_utf8(const std::string&): Assertion `c != iconv_t(-1)' failed.

this could mean that:

  • your system is missing an internationalization package, or

  • the locale package has a different name for ISO 8859-1. (This particular issue is due to the conversion between 8-bit strings and UTF-8.)

Solution

Use iconv -l to list the available locales. Set the ECLOUD_ICONV_LOCALE environment variable to a valid locale of your choice.

Examples

Your system recognizes "ISO8859-1", "ISO_8859-1", and "ISO-8859-1" only. Set ECLOUD_ICONV_LOCALE to one of those valid locale names.

Applies to

  • Product versions: 5.4 and later

  • OS versions: All

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.