# Filter Error ASCII-8BIT to UTF-8

**URL:** https://discuss.elastic.co/t/filter-error-ascii-8bit-to-utf-8/124156
**Category:** Logstash
**Created:** [March 15, 2018, 6:00pm UTC](https://discuss.elastic.co/t/filter-error-ascii-8bit-to-utf-8/124156 "2018-03-15T18:00:16Z")
**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: [March 15, 2018, 6:29pm UTC](https://discuss.elastic.co/t/filter-error-ascii-8bit-to-utf-8/124156/2 "2018-03-15T18:29:32Z")

</div>

The [`columns_charset`](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html#plugins-inputs-jdbc-columns_charset) option of `logstash-input-jdbc` allows you to specify the charset of individual columns:

```auto
input {
  jdbc {
    columns_charset => {
      "some_field" => "BINARY"
      "another_field" => "UTF-8"
    }
    # ...
  }
}

```

---

_[View the full topic](https://discuss.elastic.co/t/filter-error-ascii-8bit-to-utf-8/124156)._
