Tag : ascii

Title User Language Tags Description Date
Non ASCII Regex pumpkinthehead Regular Expression

A regular expression to find non-ASCII characters.

August 22
naive natural sort Romain Dartigues python

I wrote this after reading The Alphanum Algorithm (http://www.davekoelle.com/alphanum.html) by David Koelle a few years ago; my goal was to improve the performances of the Python version of his scripts.

My version is approximatly 10 times faster than it's alphanum.py and about 3 times faster than the alphanum.py_v2.4 on my computer, yielding the same results (for non-unicode at least).

April 28, 2011
Convert JPG to RGB colored ASCII uberdragon PHP March 27, 2011
Convert a string into its ASCII value letters by letters DeeViLiSh C++ Inputs a string, outputs a series of numbers January 17, 2011
Common ASCII fauverism HTML September 16, 2010
slugify: make a string usable in a URL or filename Trent Mick python

"Slugify" a string so it is ascii, has only alphanumeric and hyphen characters. Useful for URLs and filenames. This is heavily based on the slugify in Django.

Note: presumes that you've import red higher up in your module.

June 7, 2010
tgraph - Simple ASCII graphing utility Drew Gulino python

Takes a stream of numbers and outputs simple ASCII graphs of those numbers

March 1, 2010
EBCDIC to ASCII conversion NickDMax Java Snippet to convert between EBCDIC and ASCII or visa versa. Uses byte arrays rather than strings. February 24, 2010
Convert int to string, string to int, get ascii code of character and get character of an ascii code olibenu C++ convert int to string, string to int, get the ascii code of character and get corresponding character of an ascii code December 31, 2009
Converting an Image to ASCII Art (with color!) erik.price Java Creates either a greyscale plaintext ASCII image, or, for added awesomeness, creates a String containing HTML, which when written to a file and viewed in a browser, contains a full color ASCII'd copy of the original image! December 30, 2009
Convert string to ASCII AzizLight PHP November 26, 2009
ASCII lower to upper\ upper to lower letter Converter. japanir Java This method gets a char type parameter and returns a char type value as follows: * if the char is a lower case letter, it will return it's upper case. * if the char is an upper case letter, it will return it's lower case. * if the char is not a letter, it will return it as is. November 21, 2009
Convert a character to its ASCII code and back iwantthependrive Visual Basic for example a is 97, A is 65 ,[space] is 32,etc. April 26, 2009
Print ASCII table krzysz00 C++ This snippet prints an entire ascii table, includeing the "non-printing" charactrs March 7, 2009
Convert ASCII to binary and back to ASCII PsychoCoder VB.NET This is 2 snippets, one for converting ASCII to binary, and one for converting binary back to ASCII January 26, 2009