def _encodeValue(self, value):
        if isinstance(value, unicode):
            return value.encode('utf8')
        return value
Return an index vector of the right int type for
dataset/ETHPy150Open twisted/twisted/twisted/web/http_headers.py/Headers._encodeValue--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/vec_wrapper.py/VecWrapper.make_idx_array