Hi all, I'm getting some trouble trying to export my chart to image. I'm new with ext js charting so I really can't find out how to solve it

The error shown is:

ArgumentError at /

invalid byte sequence in UTF-8
  • file: RubyRegexp.java
so I suposse it's something to do with the data.but how can I configure my chart to make a utf8 encode before sending data to export?