Conversion to unicode or byte string

Category: Python - Blog

Python's built in function str() and unicode() return a string representation of the object in byte string and unicode string respectively. This script introduces an enhanced version of str() and unicode() that could be used as handy functions to convert between byte string and unicode. This is especially useful in debugging when mixup of the string types is suspected. Date: 01 January, 2012


Unicode Converter - Byte String Converter - Text Converter - Unicode - Byte - String

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

This script is a codec for converting unicodes to LaTeX markup and vice versa.

developer Developer: code.activestate.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This message script changes any word or phrase into morse code, with dashes represented by underscores and dots represented by full stops.

developer Developer: javascriptkit.com
license License: Freeware
operating systems Operating System: All


Program converts the rtf document to the html (in the ISO Latin 2 encoding).

developer Developer: martinmv.wz.cz
license License: Freeware
operating systems Operating System: All


This script uses an efficient way to tranform a file's text to something else, with conditions for few lines.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Simple function to convert a text into formatted HTML in PHP.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux


Message Transformer script allows you to transform your text messages in a variety of ways, such as into "all caps", "pig Latin", or even "encrypted form".

developer Developer: javascriptkit.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


IdeoType is a book compiler that converts manuscript (XHTML) to book (PDF) on the fly.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This script will decorate every letter in a string with a random color and a random font.

developer Developer: ww25.uselesspython.com
license License: Freeware
operating systems Operating System: All


This script takes a UNICODE string and replaces Latin-1 characters with something equivalent in 7-bit ASCII and returns a plain ASCII string.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All