Universal Unicode Converter
univert-0.2.1.tgz univert-0.2.1.tk Univert is a Universal Unicode Converter, at least as universal as the Unicode implementation in Tcl 8.1 or later can manage on your computer. Univert will convert interchangably between the following formats: Unicode: Native Tcl unicode, whatever your computer supports. Hex: Hex bytes or words separated by spaces. Decimal: Decimal bytes or words separated by spaces. Entity: HTML entities, (eg <é>) URL: UTF-8/URL encoding, for Unicode HTTP requests. Printable: Quoted printable, using whatever the current encoding is. String: C string, using whatever the current encoding is. There are two menus. One to set the current encoding, the other to set the font for the Unicode entry. The current encoding defaults to your system encoding (in parentheses). The special encoding "none" allows you to generate raw Unicode strings. The "quoted printable" format is not meaningful for raw Unicode strings containing characters outside the range 0..255: use UTF-8 or an 8-bit character set. The only use for this setting is to generate "C" strings for a native-unicode environment. You may need to tweak the fonts to get your Unicode text showing properly. If you know a trick to automatically adjust the font for the character range, let me know. Tcl doesn't return an error if it can't find a character, so I can't do a trap on update to flush out failures. :( Files: univert.tk The raw script. If you already have Tcl/Tk installed on your computer this is all you need. Univert.app A standalone Tcl/Tk application that runs univert instead of the "wish shell" app. If you're using Mac OS X 10.1.5 or later and you don't already have Tcl/Tk installed, this is all you need. README.txt This file
SEE ALSO