Github user greghogan commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2060#discussion_r78199262
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/common/io/GenericCsvInputFormat.java
 ---
    @@ -314,6 +320,25 @@ protected void setFieldsGeneric(boolean[] 
includedMask, Class<?>[] fieldTypes) {
                this.fieldIncluded = includedMask;
        }
     
    +   /**
    +    * Gets the Charset for the parser.Default is set to UTF-8
    +    *
    +    * @return The charset for the parser.
    +    */
    +   public Charset getCharset() {
    +           return this.charset;
    +   }
    +
    +   /**
    +    * Sets the charset of the parser. Called by subclasses of the parser 
to set the type of charset
    +    * when doing a parse.
    +    *
    +    * @param charset The charset  to set.
    --- End diff --
    
    Double space.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to