Siim Märtmaa wrote:
i would like to do this
print u'\u30fa'
ヺ
with a method like this
b = "30fa"
uni = u'\u' + b + '\''
but it prints this
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in
position 0-1: end of string in escape sequence
so how to concatenate properly to print
Hello
i would like to do this
>>> print u'\u30fa'
ヺ
with a method like this
b = "30fa"
uni = u'\u' + b + '\''
but it prints this
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in
position 0-1: end of string in escape sequence
so how to concatenate properly to print the characte