![]() ![]() Try setting the enable Directory Listing to false in IISVikram mark the answer if it helped you When I go to /Folder i get a directory listing instead of executing MyPage.aspx. I configured IIS to do this properly but changing the documents setting but I don't knwo where to change this on the local VS asp.net development server. ![]() I need to use MyPage.aspx as a default so if someone loads /Folder it will load up MyPage.aspx instead of Default.aspx. I'm using a different default file for folders. Replacing Default.aspx as default document The IndyTextEncoding_OSDefault() function. ![]() > What is the replacement method to do the same thing now without Global IdGlobal.GIdDefaultTextEncoding variable to a different encoding (OSDefault, Indy's default encoding is used, and that is ASCII uness you configure the The Ansi encoding to use for that conversion. The Unicode data to AnsiString, so the ADestEncoding parameter specifies Unicode using the charset specified in the HTTP response. TIdHTTP.Get() returns data as a String, it decodes the downloaded data to That parameter is only available in pre-Unicode versions of Delphi. You are specifying an encoding in the ADestEncoding parameter of TIdHTTP.Get(). > was mangling the transfer of characters and this fixed it. > I don't recall why I had to do this a few years ago but something The IdGlobal.TIdTextEncoding class has been replaced with a new IdGlobal.IIdTextEncoding TIdTextEncoding was removed in Indy 10.6: > HTTP.Get(URL,i,TIdTextEncoding.Default) I just updated to the latest Indy and I can't compile code like this.
0 Comments
Leave a Reply. |