On Monday 20 August 2001 17:39, Tatsuhiko Miyagawa wrote:
> NAME
>     Apache::ACEProxy - IDN compatible ACE proxy server

This is great, thanks !

>     Not that you should define "encode()" method as a class method.

I assume you meant "Note" :-)

> CAVEATS
>     This module (at least Apache::ACEProxy::RACE) assumes input domain
> names are encoded in UTF8. But currently it's known that:
>
>     *   MSIE's "always send URL as UTF8" preference does NOT ALWAYS send
>         correct UTF8 string.

This has come up on the dav-dev list. As far as MS DAV clients are concerned, 
the User-Agent can be used to know whether or not it respects that setting. 
Of course, in order to do proper conversion when it doesn't respect it you 
still need to know the local encoding that it uses.

>     *   Netscape 4.x does NOT send URL as UTF8, but in local encodings.

Netscape 4 must die. Help save the world, have everyone you know throw it 
away.

>     So, this proxy server doesn't always work well with all the domains for
>     all the browsers.
>
>     Suggestions, patches and reports are welcome about this fact.

Perhaps you could add a configuration directive to allow it to translate from 
local encodings (which the directive would specify) to UTF-8 ? I don't know 
how Unicode::String deals with bad encodings, but other conversion modules 
(eg Text::Iconv) just die. Perhaps wrapping the conversion in an eval {} in 
order to provide a nice error message to people that use broken browsers 
would be a good idea ?

-- 
_______________________________________________________________________
Robin Berjon <[EMAIL PROTECTED]> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
There are things that are so serious that you can only joke about 
them. 
-- Heisenberg

Reply via email to