in reply to From the author of WWW:Babelfish
in thread Translating Japanese to English with WWW::Babelfish
--- WWW/Babelfish.pm~ Wed Feb 21 10:33:42 2001 +++ WWW/Babelfish.pm Thu Feb 22 08:56:09 2001 @@ -148,7 +148,7 @@ CHUNK: foreach $chunk ( $self->_chunk_text($MAXCHUNK, $para) ) { - $req = POST ($BABELFISH_URL, [ 'doit' => 'done', 'urltext' => $ +chunk, 'lp' => $langopt, 'Submit' => 'Translate' ]); + $req = POST ($BABELFISH_URL, [ 'doit' => 'done', 'urltext' => $ +chunk, 'lp' => $langopt, 'Submit' => 'Translate', 'enc' => 'utf8' ]); $ua = new LWP::UserAgent; $ua->proxy('http','http://' . $self->{proxy}) if defined $self- +>{proxy};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: From the author of WWW:Babelfish
by Anonymous Monk on Mar 19, 2014 at 09:32 UTC | |
by marto (Cardinal) on Mar 19, 2014 at 11:34 UTC |