My code includes
from __future__ import unicode_literals
and has many functions that accept (and expect) Unicode strings as input in order to function fully.
Is there a way to ensure that users (in scripts, Python, or IPython, etc.) also use Unicode literals so that, for example
my_func("AβC")
does not cause an error ("ascii' codec can't decode byte 0xce ...") and so that
my_func(u"AβC")
is not necessary?