|
NAMEjapana - HTTP proxy converting Japanese characters into ASCIISYNOPSISjapana [ --addr addr ] [ --auth ] [ --configfile configfile ] [ --kakasioptions options ] [ --port port ] [ --proxy proxy ] [ --userfile userfile ] [ --version ]japana [ -a addr ] [ -A ] [ -c configfile ] [ -o options ] [ -p port ] [ -P proxy ] [ -u userfile ] [ -V ] OVERVIEWjapana is a small and simple proxy written in Perl. The proxy converts Japanese characters (Hiragana, Katakana, Kanji etc.) into ASCII (Romaji) on the fly. The conversion is done using the KAKASI library.DESCRIPTIONJust start japana. This will by default create a proxy running on http://localhost:8080 (it will fail if something else is already running on this port). Then point your browser to the proxy. Browse some Japanese website (e.g. http://amazon.co.jp) and see all those Japanese characters converted to plain ascii text.Switches
Configuration file formatConfiguration is also possible via configuration files. Every command line switch is possible in a configuration file. Empty lines and lines starting with # are ignored.Instead of --port 3128 you would put this line in the configuration file: port = 3128 -o '-ja -ga -ka -U -s' will become kakasioptions = -ja -ga -ka -U -s and so on and so forth. Userfile file formatThis file contains the usernames and passwords used for authentication. Every line must contain one username and the corresponding password separated by a colon. Empty lines and lines starting with # are ignored.This example file contains the user 'japana' with the password 'simple': # This is just an example. # Consider changing your password before using japana. japana:simple MODULES NEEDEDuse AppConfig; use HTTP::Daemon; use LWP::UserAgent; use Text::Kakasi; These modules can be obtained at <http://www.cpan.org> and Text::Kakasi can be found here: <http://www.daionet.gr.jp/~knok/kakasi/>. If setting up kakasi is too complicated, you might try the old 1.0.x version of japana. It does not use kakasi (and because of that can't convert Kanji). OPTIONAL MODULESuse Compress::Zlib; This module can be obtained at <http://www.cpan.org>. When this module is installed, gzipped data transfer is available between your browser, japana and web servers. BUGSIn the default configuration, japana supports NO ACCESS CONTROL! Everyone with access to the japana port on your system will be able to use the proxy. Please consider the use of password authentication (--auth) or bind japana to a port that is either only available from your local network or protected by a packet filter.Please report bugs the project website <http://sf.net/projects/japana/> or send a mail to <japana-bugs@cgarbs.de>. AUTHORjapana was written by Christian Garbs <mitch@cgarbs.de>. Look for updates, support etc. at <http://sf.net/projects/japana/>.COPYRIGHTjapana is licensed under the GNU GPL.THANKSThanks go to Tobias Diedrich <ranma@gmx.at> and Benjamin Heuer <benjaminheuer@t-online.de> for patches, ideas, bug-reports and beta testing.Sorry to those guys from <news:de.soc.kultur.japan> who helped with the translation routine in version 1.0.x: It is not used any more.
Visit the GSP FreeBSD Man Page Interface. |