Changeset 250

Show
Ignore:
Timestamp:
09/18/01 05:00:06
Author:
miyagawa
Message:

docs update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Apache-ACEProxy/trunk/README

    r247 r250  
    44SYNOPSIS 
    55      # in httpd.conf 
    6       PerlTransHandler Apache::ACEProxy # default uses ::RACE 
     6      PerlTransHandler Apache::ACEProxy # default uses ::UTF8_RACE 
    77 
    88DESCRIPTION 
     
    1616 
    1717SUBCLASSING 
    18     Default ACE encoding is RACE. Here's how you customize this. 
     18    Default ACE conversion is done from UTF8 to RACE. Here's how you 
     19    customize this. 
    1920 
    2021    *   Declare your ACE encoder class (like DUDE, AMC-ACE-Z). 
     
    2526 
    2627    That's all. Here's an example of implementation, extracted from 
    27     Apache::ACEProxy::RACE. 
     28    Apache::ACEProxy::UTF8_RACE. 
    2829 
    29       package Apache::ACEProxy::RACE; 
     30      package Apache::ACEProxy::UTF8_RACE; 
    3031 
    3132      use base qw(Apache::ACEProxy); 
     
    4445    At last, remember to add the following line to httpd.conf or so: 
    4546 
    46       PerlTransHandler Apache::ACEProxy::RACE 
     47      PerlTransHandler Apache::ACEProxy::UTF8_RACE 
    4748 
    4849CAVEATS 
    49     This module (at least Apache::ACEProxy::RACE) assumes input domain names 
     50    The default Apache::ACEProxy::UTF8_RACE assumes that input domain names 
    5051    are encoded in UTF8. But currently it's known that: 
    5152 
     
    5859    all the browsers. If you figure out how your browser encodes 
    5960    multilingual domain names, you can write your custom translator as in 
    60     the section on "SUBCLASSING". 
     61    the section on "SUBCLASSING". See also the Apache::ACEProxy::SJIS_RACE 
     62    manpage if your mother language is Japanese. 
    6163 
    6264    Suggestions, patches and reports are welcome about this issue. 
     
    7274SEE ALSO 
    7375    the Apache::ProxyPassThru manpage, the LWP::UserAgent manpage, the 
    74     Unicode::String manpage, the Apache::ACEProxy::RACE manpage 
     76    Unicode::String manpage, the Apache::ACEProxy::UTF8_RACE manpage, the 
     77    Apache::ACEProxy::SJIS_RACE manpage 
    7578 
  • Apache-ACEProxy/trunk/lib/Apache/ACEProxy.pm

    r248 r250  
    7676sub encode { 
    7777    my($class, $domain) = @_; 
    78  
    7978    # Default to UTF8_RACE 
    8079    require Apache::ACEProxy::UTF8_RACE; 
  • Apache-ACEProxy/trunk/lib/Apache/ACEProxy/RACE.pm

    r248 r250  
    2020=head1 DESCRIPTION 
    2121 
    22 =head1 CAVEATS 
    23  
    2422=head1 AUTHOR 
    2523 
  • Apache-ACEProxy/trunk/lib/Apache/ACEProxy/SJIS_RACE.pm

    r247 r250  
    3131Apache::ACEProxy::SJIS_RACE is one of the implementations of 
    3232Apache::ACEProxy. This module encodes Shift_JIS encoded domain names 
    33 into RACE encoding, specified in C<draft-ietf-idn-race-03.txt>
     33into RACE encoding
    3434 
    3535=head1 CAVEATS 
    3636 
    37 Works well only for browsers which sends URL as Shift_JIS. See 
    38 L<Apache::ACEProxy/"CAVEATS"> for details. 
     37Works well only for browsers which sends URL as Shift_JIS. Candidates 
     38are: Windows Netscape 4.x, Windows Internet Explorer with "Always send 
     39URL as UTF8" setting B<OFF>. See L<Apache::ACEProxy/"CAVEATS"> for 
     40details. 
    3941 
    4042You need Jcode module to get this work.