Managed to fix this, the issue wasnt the HTTP headers as I thought, the
character encoding was being messed up.
Think the main reason was that when using the server side proxy, the UTF-8
encodings get messed up becuase the client and server talk in base64 encoded
messages.  Once i disabled this in the server, rebooted APE server the char
encodings now come out perfectly.

I have seen lots of posts about this on the net, and I think people have
just neglected to inform us they were using the proxy module.
For future releases, it should be noted that using base64 can and will mess
up various peoples TCP socket connections.

Thank you very much for getting back to me and siggesting a fix.
Really appreciate it.



On 19 October 2010 02:39, ma liang <[email protected]> wrote:

> Dose you using the latest git version?
>
> HEADER_DEFAULT was define in main.h, U can change, and recompile it as you
> wish.
>
> #define HEADER_DEFAULT "HTTP/1.1 200 OK\r\nPragma:
> no-cache\r\nCache-Control: no-cache, must-revalidate\r\nExpires: Thu, 27 Dec
> 1986 07:30:00 GMT\r\nContent-Type: text/html\r\n\r\n"
> #define HEADER_DEFAULT_LEN 144
>
>
> 2010/10/16 SpeakEasy <[email protected]>
>
> Hi all,
>>
>> Anyone know how to get APE-Server HTTP headers to be Content-Type:
>> text/html
>> Or, how to insert meta tag for UTF-8 into the dynamically created i-
>> frame which gets loaded?
>>
>> When trying to make an IRCX client the i-frame doesn't allow for
>> specifying the char-set of the document, and for IRCX this must
>> specifically allow for UTF-8
>> I'm sure there is more instances when this will create problems.
>>
>> Any workarounds suggested?
>>
>> Many thanks
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "APE Project" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<ape-project%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/ape-project?hl=en
>> ---
>> APE Project (Ajax Push Engine)
>> Official website : http://www.ape-project.org/
>> Git Hub : http://github.com/APE-Project/
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<ape-project%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to