Where can unicode be used ok in any http communication when using iis?
So far this is my understanding:

Urls: not allowed directly, must be encoded %xx or %xxxx, etc
cookies: must be encoded?
Headers to and from client: ?
Page data: ok for unicode use
Server variables: ok but only via UNICODE_ prefix

Thanks,
Adam

RE: where is unencoded unicode supported in iis? by v-wzhang

v-wzhang
Thu Jan 06 03:53:47 CST 2005

Hi Adam,

UTF8 character in URL is supported, and on IIS5.x we have to set
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Paramet
ers] FavorDBCS to 0.

The cookie from ASP is urlcoded but ASP.net not.

313282 PRB: ASP.NET Does Not Encode Cookies in UrlEncode Format by
Default
http://support.microsoft.com/?id=313282

Any string in http header should be urlencoded too.

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security


RE: where is unencoded unicode supported in iis? by PerDunberg

PerDunberg
Fri May 06 07:10:07 CDT 2005

Hi WenJun,

I'm trying to have the IIS on my Windows XP machine to support UTF8
characters in the URL. The registry value that you mentioned is already set
to 0 and this does not make the IIS support UTF8 characters in the URL.

When enabling the "Directory Browsing" all the files with multibyte
characters are displayed as '?'.
I created my own ASP page to list the files using an UTF8 encoded page and
that works fine but when linking to the documents that uses UTF8 characters
it fails. The IIS replies with an "object not found" message.

Is there anyway around this problem of IIS 5.1 (English OS) not supporting
UTF8 characters in URL's?

Thanks,

Per Dunberg


""WenJun Zhang[msft]"" wrote:

> Hi Adam,
>
> UTF8 character in URL is supported, and on IIS5.x we have to set
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Paramet
> ers] FavorDBCS to 0.
>
> The cookie from ASP is urlcoded but ASP.net not.
>
> 313282 PRB: ASP.NET Does Not Encode Cookies in UrlEncode Format by
> Default
> http://support.microsoft.com/?id=313282
>
> Any string in http header should be urlencoded too.
>
> Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Support
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Get Secure! - www.microsoft.com/security
>
>

Re: where is unencoded unicode supported in iis? by Egbert

Egbert
Fri May 06 07:34:23 CDT 2005

"Per Dunberg" <PerDunberg@discussions.microsoft.com> wrote in message
news:2BC12370-F00F-4C81-B99B-9EFD0BC9E8A8@microsoft.com...
> Hi WenJun,
>
> I'm trying to have the IIS on my Windows XP machine to support UTF8
> characters in the URL. The registry value that you mentioned is already
> set
> to 0 and this does not make the IIS support UTF8 characters in the URL.
>
> When enabling the "Directory Browsing" all the files with multibyte
> characters are displayed as '?'.
> I created my own ASP page to list the files using an UTF8 encoded page and
> that works fine but when linking to the documents that uses UTF8
> characters
> it fails. The IIS replies with an "object not found" message.
>
> Is there anyway around this problem of IIS 5.1 (English OS) not supporting
> UTF8 characters in URL's?


IIS 5.1 is not fully unicode so you'll have to try Windows 2003 (web edition
for instance).
I just tried it and it simply works using russian characters.

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm


> Thanks,
>
> Per Dunberg
>


Re: where is unencoded unicode supported in iis? by PerDunberg

PerDunberg
Fri May 06 08:15:01 CDT 2005

Hmm..but the Japanese version of IIS 5.1 must support unicode url's?
There must be a solution to this problem!

Windows 2003 is not an option since I'm working on a product that uses
Windows XP Embedded.

Thanks,

Per


"Egbert Nierop (MVP for IIS)" wrote:

> "Per Dunberg" <PerDunberg@discussions.microsoft.com> wrote in message
> news:2BC12370-F00F-4C81-B99B-9EFD0BC9E8A8@microsoft.com...
> > Hi WenJun,
> >
> > I'm trying to have the IIS on my Windows XP machine to support UTF8
> > characters in the URL. The registry value that you mentioned is already
> > set
> > to 0 and this does not make the IIS support UTF8 characters in the URL.
> >
> > When enabling the "Directory Browsing" all the files with multibyte
> > characters are displayed as '?'.
> > I created my own ASP page to list the files using an UTF8 encoded page and
> > that works fine but when linking to the documents that uses UTF8
> > characters
> > it fails. The IIS replies with an "object not found" message.
> >
> > Is there anyway around this problem of IIS 5.1 (English OS) not supporting
> > UTF8 characters in URL's?
>
>
> IIS 5.1 is not fully unicode so you'll have to try Windows 2003 (web edition
> for instance).
> I just tried it and it simply works using russian characters.
>
> --
> compatible web farm Session replacement for Asp and Asp.Net
> http://www.nieropwebconsult.nl/asp_session_manager.htm
>
>
> > Thanks,
> >
> > Per Dunberg
> >
>
>

Re: where is unencoded unicode supported in iis? by Egbert

Egbert
Fri May 06 08:27:21 CDT 2005

"Per Dunberg" <PerDunberg@discussions.microsoft.com> wrote in message
news:BFF61034-D6DB-44D1-9069-713F54E86B91@microsoft.com...
> Hmm..but the Japanese version of IIS 5.1 must support unicode url's?
> There must be a solution to this problem!

I did not mean that the url cannot be utf-8 url, I meant that the "Directory
Browsing" feature, is codepaging based, so IIS 5.1 is not fully unicode.
If you want that, you'll have to write your own ISAPI filter or specific
page which handles browsing, I'm afraid so...

> Windows 2003 is not an option since I'm working on a product that uses
> Windows XP Embedded.
>
> Thanks,
>
> Per
>
>


Re: where is unencoded unicode supported in iis? by PerDunberg

PerDunberg
Fri May 06 09