I've got a variable:
age_expectations = dictionary['looking_for']['age']
print type(age_expectations), age_expectations
The output is:
<type 'unicode'> 22‑35
When I'm trying to split it with the dash I've got the following problem:
res = age_expectations.split('-')
print res
And the output look like:
[u'22\u201135']
Instead of:
["22", "35"]
What is the problem? I've tried many encoding and decoding but not really sure to understand how it's work. Does the problem come from the split?