New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLLine uses default encoding which is hard to predict when the library is embedded #155
Comments
fobiddenapis could probably catch this. (We use it in Calcite to remind us to call |
There is an option to use something like
I think it may also make sense to add variable |
StandardCharsets makes sense. We did the same in https://issues.apache.org/jira/browse/CALCITE-1667. Yes, let's do JDK 8 and jline3 first. As soon as I get a moment I will review/merge that change, then we can revisit this issue. |
As I understand committed at f4bfb5c with adding forbiddenapis and fixing all the errors based on its report |
cc @julianhyde |
Fixed in f4bfb5c. Thanks for reminding me, @snuyanzin! |
sqlline/src/main/java/sqlline/SqlLine.java
Lines 58 to 59 in 2633cd9
sqlline/src/main/java/sqlline/SqlLine.java
Line 1753 in 2633cd9
sqlline/src/main/java/sqlline/SqlLine.java
Line 1761 in 2633cd9
The text was updated successfully, but these errors were encountered: