# Implementing utf-8-sig in Logstash conf file

**URL:** https://discuss.elastic.co/t/implementing-utf-8-sig-in-logstash-conf-file/267251
**Category:** Logstash
**Created:** [March 15, 2021, 11:45am UTC](https://discuss.elastic.co/t/implementing-utf-8-sig-in-logstash-conf-file/267251 "2021-03-15T11:45:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shafeeka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shafeeka/32/85555_2.png) [@shafeeka](https://discuss.elastic.co/u/shafeeka)
#### Post date: [March 15, 2021, 11:45am UTC](https://discuss.elastic.co/t/implementing-utf-8-sig-in-logstash-conf-file/267251/1 "2021-03-15T11:45:50Z")

</div>

Hi everyone, I was trying to implement skip\_header within my Csv filter plugin. However, I'm unsuccessful as my first column's header has this invisible \ufeff character and hence it does not match the name I specified in the columns array (e.g "Question" vs "\ufeffQuestion" causes failure).

I know a solution to this problem is to read my CSV file with encoding utf-8-sig. However, I can only implement utf-8 in Logstash based on the documentation.

Anyone knows how to implement **utf-8-sig** for the Logstash config file?

Thank you!

---

<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: [April 12, 2021, 11:45am UTC](https://discuss.elastic.co/t/implementing-utf-8-sig-in-logstash-conf-file/267251/2 "2021-04-12T11:45:58Z")

</div>

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