PiSymbol Junior Member
Joined: 06 Mar 2006 Posts: 13 Location: The Netherlands
|
Posted: Mon Mar 06, 2006 8:56 am Post subject: Special characters vs TIdHTTPServer (indy) |
|
|
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 |
|