# Troubles with German Umlaute ä ö ü ß

**URL:** <https://discuss.elastic.co/t/troubles-with-german-umlaute-a-o-u-ss/269428>\
**Category:** Logstash\
**Created:** [April 7, 2021, 9:13am UTC](https://discuss.elastic.co/t/troubles-with-german-umlaute-a-o-u-ss/269428 "2021-04-07T09:13:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![feva](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@feva](https://discuss.elastic.co/u/feva)\
**Post date:** [April 7, 2021, 9:13am UTC](https://discuss.elastic.co/t/troubles-with-german-umlaute-a-o-u-ss/269428/1 "2021-04-07T09:13:25Z")

</div>

I have problems with German Umlaute ä ü ö ß.  
I send a json logmessage from IBMi (AS400) to logstash encoded in ISO8859-1. It is not possible to send them in UTF-8. So I tried to set

```
input {
  http {
    host => "0.0.0.0"
    port => 8080
    codec => json { charset => "ISO8859-1"}
  }
}

```

This results in either

> test ï¿½ ï¿½ ï¿½ ï¿½ test; for content\_type: text/xml

or

> test ? ? ? ? test; for content\_type: application/json

I know that Json input is automatically decoded as UTF-8, that's why I have tried text/xml.  
Wireshark "receives" the message as  
`0050568608371c98ece12d7f08004500005d3f5a40003f06e040ac1001100a1464cc52c41f906ad181ddf3d47aa05018800016ed00007b2274797065223a22756e6b6e6f776e696e646578222c226d657373616765223a227465737420e420f620fc20df2074657374227d`  
So e.g. ä is sent as E4

Can somebody please help me?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 7, 2021, 4:26pm UTC](https://discuss.elastic.co/t/troubles-with-german-umlaute-a-o-u-ss/269428/2 "2021-04-07T16:26:40Z")

</div>

> [@feva](#):
>
> test ? ? ? ? test; for content\_type: application/json

If the content type is application/json then by default the additional\_codecs option overrides the codec option and uses a json codec with no charset option. I do not know of you can supply options to a codec in additional\_codecs. If not, you could set additional codecs to {} to force it to use the codec option with the charset.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 5, 2021, 4:27pm UTC](https://discuss.elastic.co/t/troubles-with-german-umlaute-a-o-u-ss/269428/3 "2021-05-05T16:27:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
