2007-03-11 Bill Poser * uni2ascii.c (main): Added ability to define custom substitutions and deletions. Added 0x2500-0x2503 to -e flag. 2007-03-02 Bill Poser Released version 4.2 * SetFormat.c: Added some format names. Added missing pattern matches for examples of I, J, and K formats. Added return of error code for unrecognized format spec, with tests in both uni2ascii and ascii2uni. 2007-03-01 Bill Poser Released version 4.1.1 * ascii2uni.c uni2ascii.c: Removed inadertently introduced direct calls to gettext. These will prevent compilation on systems without gettext. 2007-02-26 Bill Poser Released version 4.1 * TestSuiteAscii2Uni: Added entries for missing formats. * ascii2uni.c: Removed leftover format spec info from ShowUsage(); Fixed bugs bugs that screwed up several conversions. 2007-02-22 Bill Poser * u2a.tcl (ExplainExpansions): Added information about new expansions. * uni2ascii.c: Corrected typos in usage info. Moved list of expansions from general info to its own info flag. Added expansions proposed and implemented by Cedric Luthi. 2007-02-20 Bill Poser * u2a.tcl: Modified to handle new method of specifying formats. 2007-02-14 Bill Poser * ascii2uni.c uni2ascii.c: Fixed bug introduced in 3.10 in which an HTML numeric character reference lacking the final semi-colon led to the program not termiminating. Added check to Z flag argument to make sure that user supplied formats do not contain more than one conversion specification. Replaced the numerous format options with arguments to the -a flag. 2007-02-13 Bill Poser * uni2ascii.c (main): Replaced the numerous format options with arguments to the -a flag. 2007-02-10 Bill Poser * uni2ascii.c ascii2uni.c: Adds support for hexadecimal numbers with prefix "16#" as in Postscript. Adds support for hexadecimal numbers with prefix "#16r" as in Common Lisp. Adds support for hexadecimal numbers with prefix "16#" and suffix "#" as in ADA. * u2a.tcl: Added the above. Improved look a little, I hope. 2007-01-09 Bill Poser * ascii2uni.c (main): Added support for the format consisting of a decimal integer prefixed by "v" as used in Perl. 2006-12-20 Bill Poser * uni2ascii.c: Added 38 missing characters to AscifyDiacritics and moved one that was mapped to the wrong ASCII value. 2006-12-02 Bill Poser * ascii2uni.c (main): Added G to getopt string. Somehow it got left out, causing option to be treated as erroneous. Fixed error messages for missing arguments to command line options. Fixed bug in -J format. 2006-07-31 Bill Poser * ascii2uni.c (main): Now suppress info about use of Unicode Replacement Character if none were emitted. Now print info about individual ill-formed HTML entities missing final semi-colon. 2006-07-05 Bill Poser * uni2ascii.c (main): Fixed bug in which a space was not added after spaces or newlines when AddWhitespaceP was set in non-UTF-8 formats. 2006-07-03 Bill Poser * Get_UTF32_From_UTF8.c: Incorporated a patch by Dylan Thurston that allows correct handling of a read interrupted in the middle of a UTF-8 sequence. * Release 3.9.4. 2006-06-06 Bill Poser * ascii2uni.1 uni2ascii.1: Corrected incorrect references to uni2ascii in ascii2uni.1. Added mention of default format. This fixes Debian Bug#367546. 2006-05-11 Bill Poser * uni2ascii.c (AscifyStyle): Fixed bugs in which -f option changed "9" to "y" and "Z" to "a" per Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365962 Now convert superscript and subscript digits and plus sign to ASCII equivalents. 2006-04-30 Bill Poser * u2a.tcl, uni2ascii.c Fixed a bug that reversed the value of the switch for converting ASCII characters in going from Unicode to ASCII. Fixed miscellaneous bugs in the reporting of the number of characters converted, replaced, etc. Uni2ascii now reports the total number of characters processed and the number actually converted. 2006-04-28 Bill Poser * uni2ascii.c: Corrected handling of small caps. Added those that were missing and changed some from converting to plain upper case to converting to plain lower case as per Unicode classification. Added expansion of plain single and double arrows. Added replacement of union with U. 2006-04-21 Bill Poser * uni2ascii.c: Added expansion of U+2026 to ... under -x per user request. 2006-04-17 Bill Poser * uni2ascii.c: Added detection of bad option argument in getopt. * ascii2uni.c: Added the three POSIX charmap formats - octal, decimal, and hex escapes for the three low bytes of a UTF-32 character in big-endian order. Added detection of bad option argument in getopt. 2006-04-16 Bill Poser * uni2ascii.c: Added the three POSIX charmap formats - octal, decimal, and hex escapes for the three low bytes of a UTF-32 character in big-endian order. 2006-02-24 Bill Poser * ascii2uni.c (main): Added detection of HTML character entities and numeric character references lacking the final semi-colon. These are converted but a warning message is printed. * ascii2uni.c (main): Q mode now works in pure mode. * ascii2uni.1 uni2ascii.1: Corrected examples missing final semi-colon. 2006-01-22 Bill Poser * uni2ascii.c: Added support for SGML numeric character references. 2006-01-14 Bill Poser * ascii2uni.c: Added RTF format (\uN with N decimal). * uni2ascii.c: Fixed bug that prevented -G option from working. Added RTF format (\uN with N decimal). Added option of expanding some characters to sequences, e.g. ts-digraph to ts. 2006-01-12 Bill Poser * uni2ascii.c: Extended the ascii replacement options to the UTF-8 formats. 2006-01-11 Bill Poser * uni2ascii.c: Added options for replacing Unicode characters with ascii equivalents rather than a textual representation, e.g. various dashes with hyphen, e-acute with e, boldface with plain. 2005-12-12 Bill Poser * Added GUI U2A.tcl. 2005-12-06 Bill Poser * uni2ascii.c: The option is now available of converting Unicode to HTML character entities if one exists. Fixed bug in which -q option was not recognized. 2005-12-05 Bill Poser * uni2ascii.c ascii2uni: Added support for format X'00E9'. 2005-09-27 Bill Poser * uni2ascii.c ascii2uni.c: Added support for octal-escaped UTF-8. 2005-09-21 Bill Poser * ascii2uni.c uni2ascii.c: Added the two UTF-8 formats =XX and %XX. Updated man pages to reflect this. 2005-09-15 Bill Poser * ascii2uni.c: Added option of converting all three HTML escapes, including character entities, for which support was added. 2005-09-10 Bill Poser * Added to both programs the -Z command line flag which allows the user to set the conversion format directly. 2005-09-09 Bill Poser * uni2ascii.c (main): Initialized FType to STDX to prevent segfault when called with no arguments. *uni2ascii.c: Added -q flag to suppress chat. *uni2ascii.c and ascii2uni.c: Added formats , U00E9, u00E9, U+00E9 2005-09-08 Bill Poser * uni2ascii.c (main) Added formats \x00E9, =x{00E9}, and Tcl \u~\U. * ascii2uni.c (main) Added program that does the inverse mapping. 2005-09-04 Bill Poser * uni2ascii.c (main): Added -B flag to generate backslash-escaped hex, e.g. \x0561.