# Bug in InternetPack HttpServer?

**URL:** https://talk.remobjects.com/t/bug-in-internetpack-httpserver/32457
**Category:** Oxygene
**Tags:** net
**Created:** [November 20, 2025, 10:24am UTC](https://talk.remobjects.com/t/bug-in-internetpack-httpserver/32457 "2025-11-20T10:24:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Andreas\_Flucke](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/e495f1/32.png) [@Andreas\_Flucke](https://talk.remobjects.com/u/Andreas_Flucke)
#### Post date: [November 20, 2025, 10:24am UTC](https://talk.remobjects.com/t/bug-in-internetpack-httpserver/32457/1 "2025-11-20T10:24:14Z")

</div>

In the HttpRequest event of the HttpServer class, if i get a POST request, the

e.Request.Contentstring seems not to be decoded with the Latin1 encoding, as it should be (the default charset for POST requests). I have to decode it via Contentbytes myself.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [November 20, 2025, 2:38pm UTC](https://talk.remobjects.com/t/bug-in-internetpack-httpserver/32457/2 "2025-11-20T14:38:40Z")

</div>

> [@Andreas\_Flucke](#):
>
> e.Request.Contentstring seems not to be decoded with the Latin1 encoding, as it should be (the default charset for POST requests). I have to decode it via Contentbytes myself.

Is this per the HTTP spec, that Latin1 is the default? i’ll have a look. What is it being decoded as, UTF-8 or ASCII?

---

<div class="post-metadata">

### Author: ![Andreas\_Flucke](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/e495f1/32.png) [@Andreas\_Flucke](https://talk.remobjects.com/u/Andreas_Flucke)
#### Post date: [November 21, 2025, 7:04am UTC](https://talk.remobjects.com/t/bug-in-internetpack-httpserver/32457/3 "2025-11-21T07:04:56Z")

</div>

Seems it’s decoded as UTF8 (with placeholder char for invalid).
