# Logstash encoding issue for csv file

**URL:** <https://discuss.elastic.co/t/logstash-encoding-issue-for-csv-file/185426>\
**Category:** Logstash\
**Created:** [June 12, 2019, 1:34pm UTC](https://discuss.elastic.co/t/logstash-encoding-issue-for-csv-file/185426 "2019-06-12T13:34:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [June 12, 2019, 11:53pm UTC](https://discuss.elastic.co/t/logstash-encoding-issue-for-csv-file/185426/2 "2019-06-12T23:53:56Z")

</div>

What encoding are the source files that Filebeat is handling? Your Filebeat configuration indicates that you have explicitly set `UTF-16`, so Filebeat processes them _as if_ they were `UTF-16`.

Here is a similar issue, where the user found that their files were encoded with `ANSI_X3.4-1968` and were able to configure Filebeat to read them correctly: [Character encoding problems Filebeat & Logstash](https://discuss.elastic.co/t/character-encoding-problems-filebeat-logstash/150353/2)

---

_[View the full topic](https://discuss.elastic.co/t/logstash-encoding-issue-for-csv-file/185426)._
