enum_values and UNICODE support

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>