The Quoter 3.0 Amanuensis converts raw text with the following possible cleanups: 1. Quoting for HTML, e.g. & -> & or accented characters like é to é 2. Quoting for Java String literals e.g. c:\MyDir\MyFile.txt -> "c:\\MyDir\\MyFile.txt" 3. removing leading and/or trailing spaces. 4. Translating from the old Windows or IBMOEM character sets. 5. removing embedded control characters. 6. collapsing runs of spaces into one space. 7. collapsing multiple blank lines into one line. 8. converting to UPPER, lower, or Book Title case. 9. Aligning space or comma delimited text in columns. 10.Aligning Java source in columns (considers "\"", '\'', /* comment */, // ... in column delimiter rules). 11. Converting raw multiline clipboards into regexes by quoting reserved characters for search/replace for Funduc or Java regexes. Often followed by converting to Java string literals. 12. Stripping out HTML 13. Converting HTML &enties; back to plain characters. It will help you write HTML, especially HTML that talks about HTML or Java. It can be useful for creating JavaDOC that mentions the tags needed to run the program or that quotes Java source which makes common use of < > and &. It takes raw text and converts HTML's reserved characters such as & < > and " and converts them to their cooked forms & < > and ". It also converts accented and special characters to their cooked forms, e.g. the copyright symbol to © and the e' character to é Just paste the raw text into the upper window, click Convert then copy the converted cooked text from the lower window. When you run the Quoter Amanuensis as an application, it is even more automatic. You don't need to do any manual pasting and copying. Just click Convert to convert the current contents of the clipboard. The cooked HTML replaces the old the raw text clipboard contents. This automatic feature is not available in the Applet version because the Applet sandbox considers it a security risk. For example, Quoter will take a clipboard that looks like this: special characters: < > & " ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ ÷ × accented characters like: À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ. and converts it to this: special characters: < > & " ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ ÷ × accented characters like: À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ. Quoter is also useful when you are writing Java programs that write Java or C++ programs. For example, when you select Java instead of HTML as the target it will take a clipboard containing template code like this: if ( myString.compareTo("\n ABC") > 0 ) test++; it will convert it to: "if ( myString.compareTo(\"\\n ABC\") > 0 )\n" + " test++;\n" It is also useful any time you cut and paste material for String literals from some other source, e.g. in preparing filenames. For example, it will convert: C:\myDir\Myprog.exe to "C:\\myDir\\Myprog.exe" There is a bug in the way the JDK 1.1 in Win/NT handles the clipboard. It prevents you from clicking CONVERT more than once to quote the quoted result. This works properly under JDK 1.3. With JDK 1.1 you must paste the first result in some other application, copy the result back into to the clipboard, then go back and hit CONVERT again, then go back to some other application and paste the second result. Watch out! Quoter translates   to 0xA0, a non-printing space, not ordinary 0X20 space. Java source code included. May be freely distributed and used for any purpose except military. Version 2.6 fixes a bug where too many
s were generated in HTML output. Version 2.7 uses a clever way of dealing with newline characters when stripping tags so that the line breaks are closer to what was rendered in HTML. Also has an about box. Version 2.8 handled tabs with \t in Java string literals. Version 2.9 no longer uses \' in "..." literals. This makes SQL-encoded strings more readable. Version 3.0 will not be fooled by tags similar to the standard ones.