# ES special chars issue

**URL:** <https://discuss.elastic.co/t/es-special-chars-issue/131508>\
**Category:** Elasticsearch\
**Created:** [May 11, 2018, 3:46pm UTC](https://discuss.elastic.co/t/es-special-chars-issue/131508 "2018-05-11T15:46:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanyTSG](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@DanyTSG](https://discuss.elastic.co/u/DanyTSG)\
**Post date:** [May 11, 2018, 3:46pm UTC](https://discuss.elastic.co/t/es-special-chars-issue/131508/1 "2018-05-11T15:46:05Z")

</div>

Hello,

I am using a Python script to import data in my ES index. The script successfully import data to ES but when I try to get the data, it presents special chars issue such as :

```
curl -X GET "10.0.1.99:9200/stops/stop/8014114"

{"_index":"stops","_type":"stop","_id":"8014114","_version":2,"found":true,"_source":{"stop_id" : 8014114, "stop_name" : "NeckargemÃ¼nd", "stop_lat" : "49.3936766099977", "stop_lon" : "8.78842503827998"}}

```

The should Ã¼ be ü.

Below is the python request :

```
headers = {"Content-type": "application/json", "Accept": "text/plain"}
connection.request('PUT', url=endpoint, headers = headers, body=to_elastic_string.encode('utf-8'))

```

I've noticed that when I replace that char with the python encoded value in my to\_elastic\_string var such as : \u00FC, it works well.

I've been searching for ages, hope someone could help me, thanks!

---

<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:** [June 8, 2018, 3:46pm UTC](https://discuss.elastic.co/t/es-special-chars-issue/131508/2 "2018-06-08T15:46:13Z")

</div>

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