Re: How to create an all UTF-8 Web site using Java (JSP)

From: Sampo Syreeni (decoy@iki.fi)
Date: Tue Jul 17 2001 - 06:33:26 EDT


On Mon, 16 Jul 2001, Paul Deuter wrote:

>However I would prefer not to have to write special code to re-interpret
>data after the fact. Also there are other standard classes which also
>seem to assume iSO-8859-1 as the default character set (such as
>URLDecoder an URLEncoder).

I think that'll change in Java SDK 1.4. The default will become UTF-8 for
the URLEn/Decoder classes. The current implementation is a hack overall (it
defaults to platform default encoding, but cannot deal with a wide local
charset -- bits above the eighth one are truncated).

Sampo Syreeni, aka decoy, mailto:decoy@iki.fi, gsm: +358-50-5756111
student/math+cs/helsinki university, http://www.iki.fi/~decoy/front



This archive was generated by hypermail 2.1.2 : Tue Jul 17 2001 - 07:42:16 EDT