given a character like "✮" (\xe2\x9c\xae), for example, can be others like "Σ", "д" or "Λ") I want to find the "actual" length that character takes when printed onscreen
for example
len("✮") len("\xe2\x9c\xae") both return 3, but it should be 1
len("✮".decode("utf-8"))len("\xe2\x9c\xae".decode('UTF-8'))works perfectly in python2.7.5.