Hello,

The client will send a URI encoded in a specific encoding. This encoding may
vary from client to client, e.g. IE send UTF-8, WebFolders send a platform
specific encoding (in US and Germany this is ISO...) at least on Windows
2000.

The server will accept encoded URLs based on a default encoding
(defaultEncoding = new java.io.InputStreamReader(System.in).getEncoding())
or to be set in slide.properties (org.apache.slide.urlEncoding=xxxxxx).

The client and server encoding must be identical, when the character set
extends US-ASCII. Unfortunately most (all?) clients do not send infos about
the used encoding when the URL was encoded. This lets the server to guess or
make the accepted encoding to be set via a parameter. (does someone know an
algorithm to decide from an encoded URL the used encoding?)

With above changes we got Japanese and German characters to work properly.

Best regards,

Juergen




 -----Original Message-----
From:   Stefan Eissing [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, March 05, 2002 17.47 PM
To:     Slide Users Mailing List
Subject:        Re: Special letters

Well, depending on which client is making the request on Windows
(webfolder, IE or Office), it uses utf-8 or (on my german win2k
installation) 8859-1 as character encoding for uris.

A server can try to fallback to 8859-1 if the uri does not
look like valid utf-8...

The best test case is still the euro sign.

Am Dienstag den, 5. M�rz 2002, um 17:32, schrieb Remy Maucherat:

>> This sounds like Slide/Tomcat is not defaulting to UTF-8 encoded
>> URIs.
>
> I am think it does. I've had a lot more success with TeamDrive, or when
> using an HTTP browser to access the server, so it may be i18n 
> problems with
> the current MS client.
> (I'm not sure 100% about that; it's just my current theory)
>
> Remy
>
>
> --
> To unsubscribe, e-mail:   <mailto:slide-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:slide-user-
> [EMAIL PROTECTED]>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to