PHP Library That Generates ASCII Art Text
I'm trying to make a captcha system that isn't the same as all the others using ASCII art text. Similar to what can be found here. Does anyone know of a library which can generate something similar? ...
I'm trying to make a captcha system that isn't the same as all the others using ASCII art text. Similar to what can be found here. Does anyone know of a library which can generate something similar? ...
I have a service bus, and the only way to transform data is via JavaScript. I need to convert a Guid to a byte array so I can then convert it to Ascii85 and shrink it into a 20 character string for the receiving customer endpoint. Any thoughts would be appreciated. ...
It seems that we only use '\0'(null),'\a'(bell),'\b'(backspace),'\t'(horizontal tab),'\n'(line fee),'\r'(carriage return),'\v'(vertical tab),'\e'(escape). Where are the other ASCII control characters?Whats the usage of other ASCII contorl characters?Do they still act as control command of printer? thanks. ...
I have a file that was converted from EBCDIC to ASCII. Where there used to be new lines there are now characters that show up as <85> (a symbol representing a single character, not the four characters it appears to be) and the whole file is on one line. I want to search for them and replace them all with new lines again, but I don't know...
i wanted to create some shellscripts that display pretty ansi colored graphics for osx but unfortunately i find just very little information about that topic. osx seems to use monaco 10 as its default console font. is there some way to find out all displayable characters for this font? osx terminal runs in UTF-8 per default as far as i...
I'm developing a card playing game and would like to print out the symbol for hearts, diamonds, spades and clubs. My target platform will be Linux. In Windows, I know how to print out these symbols. For example, to print out a heart (in ASCII) I wrote... // in Windows, print a ASCII Heart #include <iostream> using std::cout; using ...
What is the best way to convert a string from Unicode to ASCII without changing it's length (that is very important in my case)? Also the characters without any conversion problems must be at the same positions as in the original string. So an "Ä" must be converted to "A" and not something cryptic that has more characters. Edit: @novali...
Hello all Im trying to write an ascii game for an assignment. The program must be written entirely in c, no c++. How can i get the program to open a window capable of rendering ascii art? I want to create a window of a certain size, that is capable of printing in multiple colors. A simple console window is insufficient. Also, on a rela...
On linux i have a directory with lots of files. Some of them have nonASCII characters, but they are all valid UTF8. One programme has a bug that prevents it working with nonASCII filenames, I have to find out how many are affected. I was going to do this with find and then do a grep to print the nonASCII characters, and then do a wc -l t...
What is happening with Russian letters when sending via PHP request to ... a mail, by e.g.? the "hardcoded" russians letters are displayed properly, but from the Form's textboxex with hieroglyphs: HTML page: <tr> <td style="width: 280px">Содержание работ</td> <td><input type="text" id="workContent"/></td> </tr> PHP page: $WorkCont...
What is the ASCII number for the double quote? (") Also, is there a link to a list anywhere? Finally, how do you enter it in the C family (esp. C#) ...
Hi, I think about storing project documentation in plain text format. The primary reasons/requirements are: easy for source controls systems to manage and track versions; simple to edit (any text editor); REDUNDANT - no additional software required for preparing the document (not generating the formatted result); can be formatted to H...
Alright, so here is my issue. I need to generate xml in Java to pass onto another application. I started off thinking this would be easy using an org.w3c.dom.Document. Unfortunately the application I need to pass the XML off to requires that special characters like " need to be encoded as ASCII (") instead of their character entity ...
A label printer is controled by sending a string of raw ASCII characters (which formats a label). Like this: string s = "\x02L\r" + "D11\r" + "ySWR\r" + "421100001100096" + date + "\r" + "421100002150096" + time + "\r" + "421100001200160" + price + "\r" + "E\r"; RawPrinterHelper.SendStringToPrinter(printerName, s); This hardcoded v...
Are there any unassigned, invisible, characters in the ascii spectrum that I could safely use as newline markers? The idea is to build a Java wordprocessor to edit Markdown in a wysiwyg fashion (like SO) but in the frame displaying the parsed markdown (unlike SO). ...
I've got some Python code that will automatically print a set of data in a nice column format, including putting in the appropriate ASCII escape sequences to color various pieces of the data for readability. I eventually end up with each line being represented as a list, with each item being a column that is space-padded so that the sam...
hi, anyone know a good way for doing this conversion? for example, take the char array holding ascii charcters "ABC", the int conversion i'm looking for would change those characters to a single int with value 656667. any help would be very much appreciated. edit really appreciate the replies. as someone noted i did say char array, an...
Hi, I am trying to pass a byte[] containing ASCII characters to log4j, to be logged into a file using the obvious representation. When I simply pass in the byt[] it is of course treated as an object and the logs are pretty useless. When I try to convert them to strings using new String(byte[] data), the performance of my application is ...
I am working on writing some code to scrub user input to my ASP.NET site. I need to scrub input to remove all references to ASCII characters 145, 146, 147, 148 which are occasionally getting input from my mac users who are copying and pasting content they write in a word processor on their macs. My issue is the following three strings I...
I am learning C++ for the first time. I have no previous programming background. In the book I have I saw this example. #include <iostream> using::cout; using::endl; int main() { int x = 5; char y = char(x); cout << x << endl; cout << y << endl; return 0; } The example makes sense: print an integer and the AS...