BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Special characters vs TIdHTTPServer (indy)

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet)
View previous topic :: View next topic  
Author Message
PiSymbol
Junior Member


Joined: 06 Mar 2006
Posts: 13
Location: The Netherlands

PostPosted: Mon Mar 06, 2006 8:56 am    Post subject: Special characters vs TIdHTTPServer (indy) Reply with quote



Dear visitors,

I'm using TIdHTTPServer (Indy) for a simple local webserver. I have some problems using special characters like the 'ë' in filenames.

For example: (The filename is 'ideeën.htm')
Code:

ARequestInfo->RawHTTPCommand
-> GET /idee%C3%ABn.htm HTTP/1.1

HTTPDecode(ARequestInfo->RawHTTPCommand)
-> GET /ideeën.htm HTTP/1.1

HTTPDecode can be found in HTTPApp.pas

The result should be: GET /ideeën.htm HTTP/1.1

Does somebody have an idea? I could replace '%C3%AB' for the 'ë' but how should I handle other special characters?

Thanks for your help,

PiSymbol
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.