def encode_to_system(string, errors='replace'):
    return string.encode(SYSTEM_ENCODING, errors)

# workaround for Python 2.5.0 bug: http://bugs.python.org/issue1586513
Invoke udf_get() with correct parameters
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/utils/encoding.py/encode_to_system--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_get_udf.py/TestGetRegistered.test_udf_get_with_correct_paramters