A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/067170.html below:

Jython: How to import escaped Unicode and export utf-8?

Jython: How to import escaped Unicode and export utf-8? Jython: How to import escaped Unicode and export utf-8?Maurice Bauhahn bauhahnm at clara.net
Tue Apr 24 20:33:41 EDT 2001
I've been having some problems processing Unicode imports and exports.

My imports of escaped Unicode (u'\u1780' or '\u1780') end up in my lists
as:

["u'\\u1780'"]

and .write as u'\u1780'.

>From the command line I can get something useful by writing:

u'\u1780'.encode('utf-8')

but it does not appear to work within my jython script.

Any suggestions?

Cheers,

--
Maurice Bauhahn
United Kingdom

Home Email: bauhahnm at clara dot net



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4