Steven D'Aprano writes:
> >>> s = u'BIEBER FEVER \u2665'
> >>> print s # Printing Unicode is fine.
> BIEBER FEVER ♥
You're a cruel man. Why do you hate me?
--
\ “If nature has made any one thing less susceptible than all |
`\others of exclusive property, it is the action of the
J wrote:
> Hi there,
>
> I'm attempting to print a dictionary entry of some twitter data to screen
> but every now and then I get the following error:
>
> (, UnicodeEncodeError('charmap',
> u'RT @ciaraluvsjb26: BIEBER FEVER \u2665', 32, 33, 'character maps to
> '), )
Showing the actual tracebac
Hi there,
I'm attempting to print a dictionary entry of some twitter data to screen but
every now and then I get the following error:
(, UnicodeEncodeError('charmap', u'RT
@ciaraluvsjb26: BIEBER FEVER \u2665', 32, 33, 'character maps to '),
)
I have googled this but haven't really found any w