Small fix - when the value is not a str/unicode (like an int/long) unicode won't work.