From: Master Of T. <hi....@bt...> - 2016-04-07 08:36:27
|
Hi, I am having java byte[] available to me from JDBC driver which Id like to convert to Jython str/unicode types (with specified charset when converting to unicode eg. utf8). Whats the best way to do this? ... unless of course its as simple as: s_str = str(rs.getString(...)) s_unicode = str(rs.getString(...)).decode('utf8') Regards -- Master Of The Universe hi....@bt... |